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, Boolean)

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;

Parameters

component
The component to get the event for.
fNoCustomTypeDesc
[To be supplied.]

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 | ICustomTypeDescriptor