AxHost::ICustomTypeDescriptor::GetEvents Method (array<Attribute^>^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual EventDescriptorCollection^ GetEvents(
	array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetEvents

Parameters

attributes
Type: array<System::Attribute^>^

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

Return Value

Type: System.ComponentModel::EventDescriptorCollection^

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

.NET Framework
Available since 1.1
Return to top
Show: