AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetEvents 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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 对象,该对象表示指定组件实例的事件。
实现
适用于
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
参数
返回
返回 EventDescriptorCollection 表示指定组件实例的已筛选事件的。