Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetInterfaceMap Method

EnumBuilder.GetInterfaceMap Method

Returns an interface mapping for the interface requested.

[Visual Basic]
Overrides Public Function GetInterfaceMap( _
   ByVal interfaceType As Type _
) As InterfaceMapping
[C#]
public override InterfaceMapping GetInterfaceMap(
 Type interfaceType
);
[C++]
public: InterfaceMapping GetInterfaceMap(
 Type* interfaceType
);
[JScript]
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.

Exceptions

Exception Type Condition
ArgumentException The type does not implement the interface.

Remarks

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EnumBuilder Class | EnumBuilder Members | System.Reflection.Emit Namespace

Show:
© 2015 Microsoft