Returns all the public events which are declared or inherited by the current Type.
[Visual Basic] Overloads Overridable Public Function GetEvents() As EventInfo () [C#] public virtual EventInfo[] GetEvents(); [C++] public: virtual EventInfo* GetEvents() []; [JScript] public function GetEvents() : 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.
This method can be overridden by a derived class.
Type Class | Type Members | System Namespace | Type.GetEvents Overload List