AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents 方法

定义

重载

ICustomTypeDescriptor.GetEvents()

检索组件的指定实例的事件。

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的属性数组作为筛选器来检索此组件实例的事件。

ICustomTypeDescriptor.GetEvents()

检索组件的指定实例的事件。

 virtual System::ComponentModel::EventDescriptorCollection ^ System.ComponentModel.ICustomTypeDescriptor.GetEvents() = System::ComponentModel::ICustomTypeDescriptor::GetEvents;
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents ();
override this.System.ComponentModel.ICustomTypeDescriptor.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Function GetEvents () As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents

返回

EventDescriptorCollection

返回一个 EventDescriptorCollection 对象,该对象表示指定组件实例的事件。

实现

适用于

ICustomTypeDescriptor.GetEvents(Attribute[])

使用指定的属性数组作为筛选器来检索此组件实例的事件。

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

参数

attributes
Attribute[]

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

返回

EventDescriptorCollection

返回 EventDescriptorCollection 表示指定组件实例的已筛选事件的。

实现

适用于