Gets the default event for the specified type of component.
[Visual Basic] Overloads Public Shared Function GetDefaultEvent( _ ByVal componentType As Type _ ) As EventDescriptor [C#] public static EventDescriptor GetDefaultEvent( Type componentType ); [C++] public: static EventDescriptor* GetDefaultEvent( Type* componentType ); [JScript] public static function GetDefaultEvent( componentType : Type ) : EventDescriptor;
An EventDescriptor with the default event, or a null reference (in Visual Basic Nothing) if there are no events.
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.GetDefaultEvent Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor