EnumBuilder.GetInterfaceMap(Type) 方法

定義

傳回所要求介面的介面對應。

public:
 override System::Reflection::InterfaceMapping GetInterfaceMap(Type ^ interfaceType);
public override System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType);
[System.Runtime.InteropServices.ComVisible(true)]
public override System.Reflection.InterfaceMapping GetInterfaceMap (Type interfaceType);
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.GetInterfaceMap : Type -> System.Reflection.InterfaceMapping
Public Overrides Function GetInterfaceMap (interfaceType As Type) As InterfaceMapping

參數

interfaceType
Type

要擷取介面對應的介面類型。

傳回

要求的介面對應。

屬性

例外狀況

此類型未實作該介面。

備註

因應措施是,若要擷取已完成類型的介面對應類型,請使用 或 Assembly.GetType 擷取型Type.GetType別,並在擷取的類型上使用反映。

適用於