这是我父亲的后续行动 previous question
我设计了一个在.NET中的接口,它将从COM应用程序(主要是VB6,但Visual C++ 6也是可能的)消耗掉,我希望使用集合类型作为接口中的方法的参数和返回类型。
问题:
VB6内置的集合类型(数组、集合、字典)在进行互操作时会发生什么变化?我目前的猜测是:
System.Array
Microsoft.VisualBasic.Collection
System.Collections.Hashtable
IEnumerable
ICollection
IList
IDictionary
我认为这篇关于Codeproject的文章将涵盖关于interop的大部分问题
https://web.archive.org/web/20181009002630/https://www.codeproject.com/Articles/990/Understanding-Classic-COM-Interoperability-With-NE
-