LocalizableProperties.GetEvents 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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。
实现
注解
委托给 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
参数
返回
具有匹配此组件指定属性的事件的 EventDescriptorCollection。
实现
注解
委托给 GetEvents 。