共用方式為


SubMenuStyle.ICustomTypeDescriptor.GetEvents 方法

定義

如需這個成員的說明,請參閱 ICustomTypeDescriptor.GetEvents

多載

ICustomTypeDescriptor.GetEvents()

如需這個成員的說明,請參閱 GetEvents()

ICustomTypeDescriptor.GetEvents(Attribute[])

如需這個成員的說明,請參閱 GetEvents(Attribute[])

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle ,才能使用它。

ICustomTypeDescriptor.GetEvents()

如需這個成員的說明,請參閱 GetEvents()

 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

EventDescriptorCollection,包含這個執行個體的事件。

實作

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle ,才能使用它。

適用於

ICustomTypeDescriptor.GetEvents(Attribute[])

如需這個成員的說明,請參閱 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);
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[]

Attribute 類型陣列,可當做篩選條件使用。

傳回

EventDescriptorCollection

EventDescriptorCollection,包含這個執行個體的已篩選事件。

實作

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle ,才能使用它。

適用於