DataBus.GetEvents 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索 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
返回
一个表示 DataBus 控件的事件的 EventDescriptorCollection 对象。
实现
适用于
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[]
一个用作筛选器的属性的数组。
返回
一个包含 DataBus 控件的事件描述符的 EventDescriptorCollection 对象。