Redigera

Dela via


SubMenuStyle.ICustomTypeDescriptor.GetEvents Method

Definition

For a description of this member, see ICustomTypeDescriptor.GetEvents.

Overloads

ICustomTypeDescriptor.GetEvents()

For a description of this member, see GetEvents().

ICustomTypeDescriptor.GetEvents(Attribute[])

For a description of this member, see GetEvents(Attribute[]).

Remarks

This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.

ICustomTypeDescriptor.GetEvents()

For a description of this member, see 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

Returns

An EventDescriptorCollection that contains the events for this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.

Applies to

ICustomTypeDescriptor.GetEvents(Attribute[])

For a description of this member, see 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

Parameters

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

An EventDescriptorCollection that contains the filtered events for this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can only be used when the SubMenuStyle instance is cast to the ICustomTypeDescriptor interface.

Applies to