Export (0) Print
Expand All

EnumBuilder.GetInterfaceMap Method

Returns an interface mapping for the interface requested.

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)] 
public override InterfaceMapping GetInterfaceMap (
	Type interfaceType
)
/** @attribute ComVisibleAttribute(true) */ 
public InterfaceMapping GetInterfaceMap (
	Type interfaceType
)
ComVisibleAttribute(true) 
public override function GetInterfaceMap (
	interfaceType : Type
) : InterfaceMapping

Parameters

interfaceType

The type of the interface for which the interface mapping is to be retrieved.

Return Value

The requested interface mapping.

Exception typeCondition

ArgumentException

The type does not implement the interface.

As a workaround, to retrieve the interface mapping types of a finished type, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft