Name
ComInterfaceType
Synopsis
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( )
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.