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.GetEvents

Gets a collection of events.

Overload List

Gets a collection of events for a specified component.

[Visual Basic] Overloads Public Shared Function GetEvents(Object) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Object);
[C++] public: static EventDescriptorCollection* GetEvents(Object*);
[JScript] public static function GetEvents(Object) : EventDescriptorCollection;

Gets a collection of events for a specified component.

[Visual Basic] Overloads Public Shared Function GetEvents(Object, Boolean) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Object, bool);
[C++] public: static EventDescriptorCollection* GetEvents(Object*, bool);
[JScript] public static function GetEvents(Object, Boolean) : EventDescriptorCollection;

Gets a collection of events for a specified type of component using a specified array of attributes as a filter.

[Visual Basic] Overloads Public Shared Function GetEvents(Type, MemberAttribute()) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Type, MemberAttribute[]);
[C++] public: static EventDescriptorCollection* GetEvents(Type*, MemberAttribute[]);
[JScript] public static function GetEvents(Type, MemberAttribute[]) : EventDescriptorCollection;

Gets a collection of events for a specified component using a specified array of attributes

as a filter.

[Visual Basic] Overloads Public Shared Function GetEvents(Object, MemberAttribute(), Boolean) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Object, MemberAttribute[], bool);
[C++] public: static EventDescriptorCollection* GetEvents(Object*, MemberAttribute[], bool);
[JScript] public static function GetEvents(Object, MemberAttribute[], Boolean) : EventDescriptorCollection;

Gets a collection of events for a specified component using a specified array of attributes as a filter.

[Visual Basic] Overloads Public Shared Function GetEvents(Object, MemberAttribute()) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Object, MemberAttribute[]);
[C++] public: static EventDescriptorCollection* GetEvents(Object*, MemberAttribute[]);
[JScript] public static function GetEvents(Object, MemberAttribute[]) : EventDescriptorCollection;

Gets a collection of events for a specified type of component.

[Visual Basic] Overloads Public Shared Function GetEvents(Type) As EventDescriptorCollection
[C#] public static EventDescriptorCollection GetEvents(Type);
[C++] public: static EventDescriptorCollection* GetEvents(Type*);
[JScript] public static function GetEvents(Type) : EventDescriptorCollection;

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace