Name
IDispatchImplType
Synopsis
This enumeration contains the
values used by
IDispatchImplAttribute
.
SystemDefinedImpl
tells the runtime to decide
which IDispatch
implementation to use.
InternalImpl
tells .NET to use its own
IDispatch
implementation, and
CompatibleImpl
uses an
IDispatch
implementation that is compatible with
OLE automation. If you use this last implementation, it requires
static type information. Because this information is automatically
generated at runtime, CompatibleImpl
may have an
adverse impact on performance.
public enum IDispatchImplType { SystemDefinedImpl = 0, InternalImpl = 1, CompatibleImpl = 2 }
Hierarchy
System.Object
→
System.ValueType
→
System.Enum(System.IComparable
,
System.IFormattable
, System.IConvertible)
→
IDispatchImplType
Returned By
IDispatchImplAttribute.Value
Passed To
IDispatchImplAttribute.IDispatchImplAttribute( )
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.