NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeDescriptor.GetDefaultEvent (Object)

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;

Parameters

component
The component to get the event for.

Return Value

An EventDescriptor with the default event, or a null reference (in Visual Basic Nothing) if there are no events.

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetDefaultEvent Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor