Export (0) Print
Expand All

AxHost.ICustomTypeDescriptor.GetEvents Method (Attribute[])

This API supports the .NET Framework 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)

EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
	Attribute[] attributes
)

Parameters

attributes
Type: 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.

Implements

ICustomTypeDescriptor.GetEvents(Attribute[])

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft