This documentation is archived and is not being maintained.

TypeBuilder.GetInterfaceMap Method

Returns an interface mapping for the requested interface.

[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 mapping is to be retrieved.

Return Value

Returns the requested interface mapping.

Exceptions

Exception Type Condition
NotSupportedException This method is not implemented for incomplete types.

Remarks

Retrieve the type using GetType or 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

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

Show: