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

要為其擷取對應之介面的 Type

傳回

InterfaceMapping

傳回要求的介面對應。

屬性

例外狀況

不會為不完整的類型實作此方法。

備註

使用或抓取型 Type.GetTypeAssembly.GetType ,然後在抓取的型別上使用反映。

適用於