Gets the default event for the specified component.
[Visual Basic] Overloads Public Shared Function GetDefaultEvent( _ ByVal component As Object _ ) As EventDescriptor [C#] public static EventDescriptor GetDefaultEvent( object component ); [C++] public: static EventDescriptor* GetDefaultEvent( Object* component ); [JScript] public static function GetDefaultEvent( component : Object ) : EventDescriptor;
An EventDescriptor with the default event, or a null reference (in Visual Basic Nothing) if there are no events.
TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetDefaultEvent Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor