SubMenuStyle.ICustomTypeDescriptor.GetEvents 方法

定义

有关此成员的说明,请参阅 ICustomTypeDescriptor.GetEvents

重载

名称 说明
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包含此实例的筛选事件。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为SubMenuStyle接口时ICustomTypeDescriptor,才能使用它。

适用于