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 ();
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.

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);
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