DataRowView.ICustomTypeDescriptor.GetEvents 方法

定义

返回此组件实例的事件。Returns the events for this instance of a component.

重载

ICustomTypeDescriptor.GetEvents()

返回此组件实例的事件。Returns the events for this instance of a component.

ICustomTypeDescriptor.GetEvents(Attribute[])

返回具有指定特性的此组件实例的事件。Returns the events for this instance of a component with specified attributes.

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DataRowView 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DataRowView instance is cast to an ICustomTypeDescriptor interface.

ICustomTypeDescriptor.GetEvents()

返回此组件实例的事件。Returns the events for this instance of a component.

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

返回

EventDescriptorCollection

此组件实例的事件。The events for this instance of a component.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DataRowView 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DataRowView instance is cast to an ICustomTypeDescriptor interface.

适用于

ICustomTypeDescriptor.GetEvents(Attribute[])

返回具有指定特性的此组件实例的事件。Returns the events for this instance of a component with specified attributes.

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

参数

attributes
Attribute[]

特性The attributes

返回

EventDescriptorCollection

此组件实例的事件。The events for this instance of a component.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DataRowView 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DataRowView instance is cast to an ICustomTypeDescriptor interface.

适用于