This documentation is archived and is not being maintained.
ComInterfaceType Enumeration
.NET Framework 1.1
Identifies how to expose an interface to COM.
[Visual Basic] <Serializable> Public Enum ComInterfaceType [C#] [Serializable] public enum ComInterfaceType [C++] [Serializable] __value public enum ComInterfaceType [JScript] public Serializable enum ComInterfaceType
Remarks
This enumeration works in conjuction with InterfaceTypeAttribute.
Members
| Member name | Description |
|---|---|
| InterfaceIsDual | Indicates the interface is exposed to COM as a dual interface, which enables both early and late binding. InterfaceIsDual is the default value. |
| InterfaceIsIDispatch | Indicates an interface is exposed to COM as a dispinterface, which enables late binding only. |
| InterfaceIsIUnknown | Indicates an interface is exposed to COM as an IUnknown-derived interface, which enables only early binding. |
Requirements
Namespace: System.Runtime.InteropServices
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
Show: