GetEvents Method
Collapse the table of content
Expand the table of content

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)

public virtual EventDescriptorCollection GetEvents()

Return Value

Type: System.ComponentModel.EventDescriptorCollection

An EventDescriptorCollection containing the event descriptors for the object represented by this type descriptor. The default is Empty.

If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetEvents method will call the parent's corresponding method.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft