DataBus.GetEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves all the public events that are declared by the DataBus control.
Overloads
GetEvents() |
Returns the events for the DataBus control. |
GetEvents(Attribute[]) |
Returns a filtered collection of event descriptors for the DataBus control. |
GetEvents()
Returns the events for the DataBus control.
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 object that represents the events for the DataBus control.
Implements
Applies to
GetEvents(Attribute[])
Returns a filtered collection of event descriptors for the DataBus control.
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 attributes that is used as a filter.
Returns
An EventDescriptorCollection object containing the event descriptions for the DataBus control.