This documentation is archived and is not being maintained.

CustomTypeDescriptor.GetEvents Method

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

Name Description
CustomTypeDescriptor.GetEvents () Returns a collection of event descriptors for the object represented by this type descriptor.
CustomTypeDescriptor.GetEvents (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.

Show: