Returns all the public events that are declared or inherited by the current
Type.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual EventInfo[] GetEvents()
Return Value
Type:
EventInfoAn 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