When placed on a class, the ComImport attribute marks the class as an externally implemented Com class. Such a class declaration enables the use of a C# name to refer to a COM class.
Archive | Interoperability with COM RSS feed for this section
Interoperability with COM Programs
October 2, 2010
In the next few posts, we’ll be learning attributes for creating programs that interoperate with COM programs. Let’s start off with the ComAlias Name attribute
How to Use TypeLib Information and Enums in C#
October 1, 2010
The TypeLibVar attribute in C#is used to specify typelib flags, for interoperability with COM.

October 3, 2010
0 Comments