NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComInterfaceType Enumeration

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.

Members

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.

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

System.Runtime.InteropServices Namespace | InterfaceTypeAttribute