Search notes:

System.Runtime.InteropServices.ComImportAttribute

Despite the name System.Runtime.InteropServices.ComImportAttribute, this class does not import anything, rather, it marks a class as a COM (i.e. an unmanaged) type in a previously published type library.

See also

System.Runtime.InteropServices.DllImportAttribute
System.Runtime.InteropServices.InterfaceTypeAttribute
An example on how ComImportAttribute can be used is Using the IShellDispatch interface in PowerShell.

Index