Gets the event arguments of the specified event

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)

Syntax

C#
public static ParameterInfo GetEventArgsParameter(
	EventInfo ei
)
Visual Basic
Public Shared Function GetEventArgsParameter ( 
	ei As EventInfo
) As ParameterInfo

Parameters

ei
Type: System.Reflection..::..EventInfo
an EventInfo for which to get the argument.

Return Value

Type: ParameterInfo
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