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.

適用於