InterfaceMapping 結構
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將介面的對應擷取到實作該介面之類別上的實際方法中。
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 結構,請使用 Type.GetInterfaceMap 方法。
欄位
InterfaceMethods |
顯示在介面上定義的方法。 |
InterfaceType |
顯示表示介面的型別。 |
TargetMethods |
顯示實作介面的方法。 |
TargetType |
表示用於建立介面對應的型別。 |
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應