ComInterfaceType Enumeration
TOC
Collapse the table of content
Expand the table of content

ComInterfaceType Enumeration

 

Identifies how to expose an interface to COM.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum ComInterfaceType

Member nameDescription
InterfaceIsDual

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

InterfaceIsIDispatch

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

InterfaceIsIInspectable

Indicates that an interface is exposed to COM as a Windows Runtimeinterface.

InterfaceIsIUnknown

Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding.

This enumeration works in conjunction with the InterfaceTypeAttribute attribute.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft