LocalizableProperties.GetEvents 方法

定义

重载

GetEvents()

获取指定组件的事件的集合。

GetEvents(Attribute[])

使用指定的特性数组作为筛选器获取指定组件的事件的集合。

GetEvents()

获取指定组件的事件的集合。

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

具有此组件的事件的 EventDescriptorCollection

实现

注解

委托给 GetEvents

适用于

GetEvents(Attribute[])

使用指定的特性数组作为筛选器获取指定组件的事件的集合。

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[]

要用作筛选器的类型 Attribute 数组。

返回

EventDescriptorCollection

具有匹配此组件指定属性的事件的 EventDescriptorCollection

实现

注解

委托给 GetEvents

适用于