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)


<ComVisibleAttribute(True)> _
Public Enumeration ClassInterfaceType
public enum ClassInterfaceType


Member name Description
Supported by Silverlight for Windows PhoneSupported by Xbox 360 None No class interface is generated for the class.
AutoDispatch The class supports only late binding for COM clients.
AutoDual A dual class interface is automatically generated for the class and exposed to COM.


This enumeration is used in conjunction with the ClassInterfaceAttribute attribute.

Version Information


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.