CustomTypeDescriptor::GetEvents Method

 

Returns a collection of event descriptors for the object represented by this type descriptor.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodGetEvents()

Returns a collection of event descriptors for the object represented by this type descriptor.

System_CAPS_pubmethodGetEvents(array<Attribute^>^)

Returns a filtered collection of event descriptors for the object represented by this type descriptor.

The GetEvents method returns a collection of event descriptors for the object this type descriptor is representing. An optional attribute array may be provided to filter the collection that is returned. If no parent is provided, the method will return Empty.

Return to top
Show: