Freigeben über


DataViewBrowseObject.GetEvents Method

Definition

Overloads

GetEvents()

Retrieves a EventDescriptorCollection collection of events for the current browse object.

GetEvents(Attribute[])

Retrieves a EventDescriptorCollection collection of events that match the specified attributes for the current browse object.

GetEvents()

Retrieves a EventDescriptorCollection collection of events for the current browse object.

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

Returns a EventDescriptorCollection collection containing the events for the current browse object.

Implements

Applies to

GetEvents(Attribute[])

Retrieves a EventDescriptorCollection collection of events that match the specified attributes for the current browse object.

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

Parameters

attributes
Attribute[]

An array of Attribute objects as a filter for the events to return.

Returns

Returns an EventDescriptorCollection collection containing the events that match the specified attributes for the current browse object.

Implements

Applies to