TypeBuilder.GetInterfaceMap Method

Returns an interface mapping for the requested interface.

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

Return Value

Returns the requested interface mapping.

Exception typeCondition

NotSupportedException

This method is not implemented for incomplete types.

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: