This enumeration is used with the InterfaceTypeAttribute to identify how an interface should be exposed to COM.
[Visual Basic] Public Enum ComInterfaceType [C#] public enum ComInterfaceType [C++] public enum ComInterfaceType
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
InterfaceIsDual | Indicates that the interface should be expsoed to com as a Dual interface |
InterfaceIsIDispatch | Indicates that an interface should be expsoed to com as a dispinterface. |
InterfaceIsIUnknown | Indicates that an interface should be expsoed to com as an IUnknown derived interface as opposed to a dispinterface or a dual interface. |
Namespace: System.Runtime.InteropServices
Assembly: mscorlib.dll
System.Runtime.InteropServices Namespace | InterfaceTypeAttribute