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 | C Sharp Program Examples RSS feed for this section
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