TypeProvider.GetEventHandlerType(EventInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la Type valeur d’un EventHandler, en fonction d’une référence à un EventInfo.
public:
static Type ^ GetEventHandlerType(System::Reflection::EventInfo ^ eventInfo);
public static Type GetEventHandlerType(System.Reflection.EventInfo eventInfo);
static member GetEventHandlerType : System.Reflection.EventInfo -> Type
Public Shared Function GetEventHandlerType (eventInfo As EventInfo) As Type
Paramètres
- eventInfo
- EventInfo
Pour EventInfo obtenir le EventHandler type de.
Retours
L’un TypeEventHandler, donné une référence à un EventInfo.
Exceptions
eventInfo est une référence Null (Visual Basic Nothing).