次の方法で共有


LocalizableProperties.GetEvents Method

Definition

Overloads

GetEvents()

Gets the collection of events for a specified component.

GetEvents(Attribute[])

Gets the collection of events for a specified component using a specified array of attributes as a filter.

GetEvents()

Gets the collection of events for a specified component.

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

Returns

An EventDescriptorCollection with the events for this component.

Implements

Remarks

Delegates to GetEvents.

Applies to

GetEvents(Attribute[])

Gets the collection of events for a specified component using a specified array of attributes as a filter.

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

Parameters

attributes
Attribute[]

An array of type Attribute to use as a filter.

Returns

An EventDescriptorCollection with the events that match the specified attributes for this component.

Implements

Remarks

Delegates to GetEvents.

Applies to