C # in a Nutshell, Second Edition

ComInterfaceType serializable

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.Objectaut System.ValueType System.Enum(System.IComparable , System.IFormattable , System.IConvertible) ComInterfaceType

Returned By

InterfaceTypeAttribute.Value

Passed To

InterfaceTypeAttribute.InterfaceTypeAttribute( )

Категории