Edit

Share via


_Type.GetInterfaceMap(Type) Method

Definition

Provides COM objects with version-independent access to the GetInterfaceMap(Type) method.

public:
 System::Reflection::InterfaceMapping GetInterfaceMap(Type ^ interfaceType);
public System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType);
abstract member GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
Public Function GetInterfaceMap (interfaceType As Type) As InterfaceMapping

Parameters

interfaceType
Type

The Type of the interface of which to retrieve a mapping.

Returns

An InterfaceMapping object representing the interface mapping for interfaceType.

Remarks

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.GetInterfaceMap method returns an interface mapping for the specified interface type.

Applies to