Gets a collection of events for a specified type of component.
[Visual Basic] Overloads Public Shared Function GetEvents( _ ByVal componentType As Type _ ) As EventDescriptorCollection [C#] public static EventDescriptorCollection GetEvents( Type componentType ); [C++] public: static EventDescriptorCollection* GetEvents( Type* componentType ); [JScript] public static function GetEvents( componentType : Type ) : EventDescriptorCollection;
An EventDescriptorCollection with the events for this component.
Call this version of this method only when you do not have an instance of the object.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetEvents Overload List | TypeDescriptor | EventDescriptor | EventDescriptorCollection | PropertyDescriptor