DataBus.GetEvents 方法

定义

检索由DataBus控制声明的所有公共事件。

重载

名称 说明
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控件事件描述的对象。

实现

适用于