title: C# calling C++-CLI dll - not sure if function parameters are correct
body: <p>From the c# world I want to pass in a reference to a List object into a c++-CLI dll. The namespace of the c++-cli dll is MatsWrapper. Contact is a managed object.</p>
  
  <pre><code>        List&lt;Contact&gt; contactList = new List&lt;Contact&gt;();
          String str = "C:\\DATA20110524064.h5";
          MatsWrapper.Class1 cl = new MatsWrapper.Class1();
          cl.CallMats(str, ref contactList);
  </code></pre>
  
  <p>Does my c++-cli dll function have the right signature?</p>
  
  <pre><code>int MatsWrapper::Class1::CallMats(String^ file_path, std::list&lt;Contact&gt;^ contactList)
  {
  
  }
  </code></pre>
  
  <p>I can't test it for myself because I don't know how to access to the Contact object in c++-cli. But when I find out how to access it, will my signature agree with the way C# is calling CallMats?
  thanks,
  sb</p>