Mono Class Library: System.Reflection.EventInfo Overview | Members

System.Reflection.EventInfo.EventHandlerType Property

Gets the Type of the event-handler Delegate associated with the event reflected by the current instance.

public Type EventHandlerType { get; }

Value

A Type that represents the type of the event-handler Delegate associated with the event reflected by the current instance. Returns null if the method used to add a delegate to the event is not public and is in a loaded assembly, and the caller does not have the required permission.

Permissions

TypeReason
System.Security.Permissions.ReflectionPermissionRequires permission to reflect non-public members of a type in loaded assemblies. See System.Security.Permissions.ReflectionPermissionFlag.TypeInformation.

Remarks

This property is read-only.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0