InterfaceMapping Struct
Definizione
Recupera il mapping di un'interfaccia nei metodi effettivi in una classe che implementa tale interfaccia.Retrieves the mapping of an interface into the actual methods on a class that implements that interface.
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
- Ereditarietà
- Attributi
Commenti
Usare la InterfaceMapping struttura quando un tipo implementa metodi di interfaccia che usano nomi di metodo diversi da quelli specificati dall'interfaccia oppure quando un tipo implementa più interfacce con un metodo con lo stesso nome.Use the InterfaceMapping structure when a type implements interface methods that use method names other than those specified by the interface, or when a type implements multiple interfaces which have a method with the same name.
Per ottenere una InterfaceMapping struttura, usare il Type.GetInterfaceMap metodo.To obtain an InterfaceMapping structure, use the Type.GetInterfaceMap method.
Campi
InterfaceMethods |
Mostra i metodi che sono definiti sull'interfaccia.Shows the methods that are defined on the interface. |
InterfaceType |
Mostra il tipo che rappresenta l'interfaccia.Shows the type that represents the interface. |
TargetMethods |
Mostra i metodi che implementano l'interfaccia.Shows the methods that implement the interface. |
TargetType |
Rappresenta il tipo utilizzato per creare il mapping di interfaccia.Represents the type that was used to create the interface mapping. |