InterfaceMapping Struktura

Definicja

Pobiera mapowanie interfejsu na rzeczywiste metody w klasie, która implementuje ten interfejs.

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
Dziedziczenie
InterfaceMapping
Atrybuty

Uwagi

InterfaceMapping Użyj struktury, gdy typ implementuje metody interfejsu, które używają nazw metod innych niż określone przez interfejs, lub gdy typ implementuje wiele interfejsów, które mają metodę o tej samej nazwie.

Aby uzyskać InterfaceMapping strukturę, użyj Type.GetInterfaceMap metody .

Pola

InterfaceMethods

Przedstawia metody zdefiniowane w interfejsie.

InterfaceType

Pokazuje typ reprezentujący interfejs.

TargetMethods

Przedstawia metody implementujące interfejs.

TargetType

Reprezentuje typ użyty do utworzenia mapowania interfejsu.

Dotyczy

Zobacz też