Share via


ElementTypeDescriptor.GetEvents Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

GetEvents()

Returns a collection of event descriptors for the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Public method

GetEvents(array<Attribute[])

Returns a filtered collection of event descriptors for the object represented by this type descriptor. (Inherited from CustomTypeDescriptor.)

Top

Remarks

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.

See Also

Reference

ElementTypeDescriptor Class

ElementTypeDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace