TypeProvider.GetEventHandlerType(EventInfo) Método

Definición

Obtiene Type de EventHandler, dada una referencia a EventInfo.Gets the Type of an EventHandler, given a reference to an EventInfo.

public:
 static Type ^ GetEventHandlerType(System::Reflection::EventInfo ^ eventInfo);
public static Type GetEventHandlerType (System.Reflection.EventInfo eventInfo);
static member GetEventHandlerType : System.Reflection.EventInfo -> Type

Parámetros

eventInfo
EventInfo

La clase EventInfo de la que se va a obtener el tipo EventHandler.The EventInfo to obtain the EventHandler type of.

Devoluciones

Type de EventHandler, dada una referencia a EventInfo.The Type of an EventHandler, given a reference to an EventInfo.

Excepciones

eventInfo es una referencia nula (Nothing en Visual Basic).eventInfo is a null reference (Visual Basic Nothing).

Se aplica a