語言

SubMenuStyle.ICustomTypeDescriptor.GetEvents 方法

定義

關於此成員的描述,請參見 ICustomTypeDescriptor.GetEvents。

多載

名稱 Description
ICustomTypeDescriptor.GetEvents()

關於此成員的描述,請參見 GetEvents()。

ICustomTypeDescriptor.GetEvents(Attribute[])

關於此成員的描述,請參見 GetEvents(Attribute[])。

備註

此成員為明確介面成員實作。 只有當實 SubMenuStyle 例投射到 ICustomTypeDescriptor 介面時,才能使用。

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 包含此事件的

實作

備註

此成員為明確介面成員實作。 只有當實 SubMenuStyle 例投射到 ICustomTypeDescriptor 介面時,才能使用。

適用於

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 包含此實例過濾事件的 that。

實作

備註

此成員為明確介面成員實作。 只有當實 SubMenuStyle 例投射到 ICustomTypeDescriptor 介面時,才能使用。

適用於