AxHost.ICustomTypeDescriptor.GetEvents 方法

定义

返回当前对象的事件。Returns events for the current object.

重载

ICustomTypeDescriptor.GetEvents()

返回当前对象的事件。Returns the events for the current object.

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的特性数组作为筛选器返回当前对象的事件。Returns the events for the current object using the specified attribute array as a filter.

ICustomTypeDescriptor.GetEvents()

返回当前对象的事件。Returns the events for the current object.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

返回

表示当前对象的事件的 EventDescriptorCollectionAn EventDescriptorCollection that represents the events for the current object.

实现

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的特性数组作为筛选器返回当前对象的事件。Returns the events for the current object using the specified attribute array as a filter.

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents(cli::array <Attribute ^> ^ attributes) = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes);
Function GetEvents (attributes As Attribute()) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

参数

attributes
Attribute[]

用作筛选器的 Attribute 类型数组。An array of type Attribute that is used as a filter.

返回

EventDescriptorCollection,表示匹配给定特性集的 AxHost 的事件。An EventDescriptorCollection that represents the events for the AxHost that match the given set of attributes.

实现

适用于