DataBus.GetEvents 方法

定義

擷取 DataBus 控制項宣告的所有公開事件。

多載

名稱 Description
GetEvents()

回傳 DataBus 控制的事件。

GetEvents(Attribute[])

回傳經過篩選的事件描述符集合,用於 DataBus 控制項。

GetEvents()

回傳 DataBus 控制的事件。

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

傳回

一個 EventDescriptorCollection 代表 DataBus 控制事件的物件。

實作

適用於

GetEvents(Attribute[])

回傳經過篩選的事件描述符集合,用於 DataBus 控制項。

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

參數

attributes
Attribute[]

一個屬性陣列,用作過濾器。

傳回

一個 EventDescriptorCollection 包含 DataBus 控制項事件描述的物件。

實作

適用於