Editar

Compartilhar via


TypeProvider.GetEventHandlerType(EventInfo) Method

Definition

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
Public Shared Function GetEventHandlerType (eventInfo As EventInfo) As Type

Parameters

eventInfo
EventInfo

The EventInfo to obtain the EventHandler type of.

Returns

The Type of an EventHandler, given a reference to an EventInfo.

Exceptions

eventInfo is a null reference (Visual Basic Nothing).

Applies to