TypeBuilder.GetInterfaceMap(Type) Méthode

Définition

Retourne un mappage d’interface pour l’interface demandée.

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

Paramètres

interfaceType
Type

Type de l’interface pour laquelle le mappage doit être récupéré.

Retours

InterfaceMapping

Retourne le mappage d’interface demandé.

Attributs

Exceptions

Cette méthode n’est pas implémentée pour les types incomplets.

Remarques

Récupérez le type à l’aide de Type.GetType ou de Assembly.GetType et utilisez la réflexion sur le type récupéré.

S’applique à