Partager via


PSObjectTypeDescriptor.GetEvents Method

Definition

Overloads

GetEvents()

Returns the events for this instance of a component.

GetEvents(Attribute[])

Returns the events for this instance of a component using the attribute array as a filter.

GetEvents()

Returns the events for this instance of a component.

public:
 override System::ComponentModel::EventDescriptorCollection ^ GetEvents();
public override System.ComponentModel.EventDescriptorCollection GetEvents ();
override this.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Public Overrides Function GetEvents () As EventDescriptorCollection

Returns

An EventDescriptorCollection that represents the events for this component instance.

Applies to

GetEvents(Attribute[])

Returns the events for this instance of a component using the attribute array as a filter.

public:
 override System::ComponentModel::EventDescriptorCollection ^ GetEvents(cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[] attributes);
override this.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Overrides Function GetEvents (attributes As Attribute()) As EventDescriptorCollection

Parameters

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

An EventDescriptorCollection that represents the events for this component instance that match the given set of attributes.

Applies to