AxHost.ICustomTypeDescriptor.GetEvents Method

Definition

Returns events for the current object.

Overloads

ICustomTypeDescriptor.GetEvents()

Returns the events for the current object.

ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the events for the current object using the specified attribute array as a filter.

ICustomTypeDescriptor.GetEvents()

Returns the events for the current object.

 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

EventDescriptorCollection

An EventDescriptorCollection that represents the events for the current object.

Implements

Remarks

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

Applies to

ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the events for the current object using the specified attribute array as a filter.

 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

EventDescriptorCollection

An EventDescriptorCollection that represents the events for the AxHost that match the given set of attributes.

Implements

Applies to