ComInterfaceType

ComInterfaceTypeserializable

System.Runtime.InteropServices (mscorlib.dll)enum

This enumeration specifies the COM interface type. Use this attribute with InterfaceTypeAttribute to specify how your .NET interfaces are exposed to COM.

public enum ComInterfaceType {
   InterfaceIsDual = 0,
   InterfaceIsIUnknown = 1,
   InterfaceIsIDispatch = 2
}

Hierarchy

System.Object|aut System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ComInterfaceType

Returned By

InterfaceTypeAttribute.Value

Passed To

InterfaceTypeAttribute.InterfaceTypeAttribute( )



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System