TypeProvider.GetEventHandlerType(EventInfo) Méthode

Définition

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).

S’applique à