ComponentInfo.getEvents

Overview | Methods | This Package | All Packages

ComponentInfo.getEvents

Retrieves the events that were specified in the component's ClassInfo.

Syntax

public EventInfo[] getEvents()

public EventInfo[] getEvents( MemberAttribute[] attributes )

Parameters

attributes

An array of MemberAttribute objects that specify which events should be retrieved.

Return Value

Returns an array of EventInfo objects. If no parameter was passed to getEvents, all events specified in the component's ClassInfo are returned; otherwise, getEvents returns only those events whose attributes satisfy the items in the attributes array. (An item in the attributes array is satisfied if it specifies an attribute in an event's EventInfo or represents the default attribute for that type if the attribute is not specified in the EventInfo.)

See Also   IClassInfo