System.Runtime.InteropServices.ComInterfaceType Enumeration

Identifies how to expose an interface to COM.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum ComInterfaceType

Remarks

This enumeration works in conjunction with the System.Runtime.InteropServices.InterfaceTypeAttribute attribute.

Members

Member NameDescription
InterfaceIsDual

Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. ComInterfaceType.InterfaceIsDual is the default value.

InterfaceIsIDispatch

Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only.

InterfaceIsIUnknown

Indicates that an interface is exposed to COM as an interface that is derived from tp://go.microsoft.com/fwlink/?LinkId=148003, which enables only early binding.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0