_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.

傳回

InterfaceMapping 物件,表示 interfaceType 的介面對應。An InterfaceMapping object representing the interface mapping for interfaceType.

備註

這個方法會從 unmanaged 程式碼,是用於存取 managed 類別,並不會呼叫從 managed 程式碼。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.

適用於