_Type.GetInterfaceMap(Type) _Type.GetInterfaceMap(Type) _Type.GetInterfaceMap(Type) _Type.GetInterfaceMap(Type) Method

定义

为 COM 对象提供对 GetInterfaceMap(Type) 方法的版本无关的访问。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

参数

interfaceType
Type Type Type Type

要检索其映射的接口的 TypeThe Type of the interface of which to retrieve a mapping.

返回

表示 interfaceType 的接口映射的 InterfaceMapping 对象。An InterfaceMapping object representing the interface mapping for interfaceType.

注解

此方法用于访问托管类到从非托管代码,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.GetInterfaceMap方法将返回指定的接口类型的接口映射。The Type.GetInterfaceMap method returns an interface mapping for the specified interface type.

适用于