Interop.ICustomTypeDescriptor.GetEvents Method

Definition

Returns the collection of events for the contained Activity.

Overloads

ICustomTypeDescriptor.GetEvents()

Returns the collection of events for the contained Activity.

ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the collection of events for the contained Activity using the specified array of attributes as a filter.

ICustomTypeDescriptor.GetEvents()

Returns the collection of events for the contained Activity.

C#
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents();

Returns

The collection of events.

Implements

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ICustomTypeDescriptor.GetEvents(Attribute[])

Returns the collection of events for the contained Activity using the specified array of attributes as a filter.

C#
System.ComponentModel.EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes);

Parameters

attributes
Attribute[]

The attributes used to filter the returned events.

Returns

The collection of events for the contained Activity.

Implements

Remarks

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1