Gets the default event for a component.
[Visual Basic] Overloads Public Shared Function GetDefaultEvent( _ ByVal component As Object, _ ByVal fNoCustomTypeDesc As Boolean _ ) As EventDescriptor [C#] public static EventDescriptor GetDefaultEvent( object component, bool fNoCustomTypeDesc ); [C++] public: static EventDescriptor* GetDefaultEvent( Object* component, bool fNoCustomTypeDesc ); [JScript] public static function GetDefaultEvent( component : Object, fNoCustomTypeDesc : Boolean ) : 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 | ICustomTypeDescriptor