Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClassInterfaceType Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Identifies the type of class interface that is generated for a class.

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

'Declaration
<ComVisibleAttribute(True)> _
Public Enumeration ClassInterfaceType

Member nameDescription
Supported by Silverlight for Windows PhoneSupported by Xbox 360NoneNo class interface is generated for the class.
AutoDispatchThe class supports only late binding for COM clients.
AutoDualA dual class interface is automatically generated for the class and exposed to COM.

This enumeration is used in conjunction with the ClassInterfaceAttribute attribute.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2017 Microsoft