Visual Guard Class Library Documentation

VGReflectionHelper.GetEventArgsParameter Method (EventInfo)

Gets the event arguments of the specified event

public static ParameterInfo GetEventArgsParameter(
   EventInfo ei
);

Parameters

ei
an EventInfo for which to get the argument.

Return Value

a ParameterInfo object representing the event argument. null (Nothing) if the event is null or does not have argument.

Remarks

this method returns the second argument of the method Invoke of the event (this first one is .

See Also

VGReflectionHelper Class | Novalys.VisualGuard.Security Namespace | VGReflectionHelper.GetEventArgsParameter Overload List