Click or drag to resize
TypeGetEvents Method
Returns all the public events that are declared or inherited by the current Type.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual EventInfo[] GetEvents()

Return Value

Type: EventInfo
An array of EventInfo objects representing all the public events which are declared or inherited by the current Type.-or- An empty array of type EventInfo, if the current Type does not have public events.
See Also