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 (Type)

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;

Parameters

componentType
A Type that represents the type of 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.

Remarks

Call this version of this method only when you do not have an instance of the object.

See Also

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