System.Type.GetInterfaceMap Method

Returns an interface mapping for the specified interface type.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public virtual System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType)

Parameters

interfaceType
The interface type to retrieve a mapping for.

Returns

An object that represents the interface mapping for interfaceType.

Remarks

The interface map denotes how an interface is mapped into the actual methods on a class that implements that interface.

If the current Type represents a constructed generic type, type parameters are replaced by the appropriate type arguments in the elements of the System.Reflection.InterfaceMapping returned by this method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0