InterfaceMapping 結構

定義

將介面的對應擷取到實作該介面之類別上的實際方法中。

public value class InterfaceMapping
public struct InterfaceMapping
[System.Runtime.InteropServices.ComVisible(true)]
public struct InterfaceMapping
type InterfaceMapping = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
type InterfaceMapping = struct
Public Structure InterfaceMapping
繼承
InterfaceMapping
屬性

備註

InterfaceMapping當類型實作介面方法時,使用介面所指定之方法名稱以外的方法名稱,或當類型實作多個具有相同名稱之方法的介面時,請使用 結構。

若要取得 InterfaceMapping 結構,請使用 Type.GetInterfaceMap 方法。

欄位

InterfaceMethods

顯示在介面上定義的方法。

InterfaceType

顯示表示介面的型別。

TargetMethods

顯示實作介面的方法。

TargetType

表示用於建立介面對應的型別。

適用於

另請參閱