CodeDomSerializerBase.GetEventsHelper Method

Definition

Gets a collection of events as defined in the project's target version of .NET.

C#
protected static System.ComponentModel.EventDescriptorCollection GetEventsHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, Attribute[] attributes);
C#
protected static System.ComponentModel.EventDescriptorCollection GetEventsHelper(System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, Attribute[]? attributes);

Parameters

manager
IDesignerSerializationManager

The serialization manager.

instance
Object

An object of the target type.

attributes
Attribute[]

An array of attributes to pass to the target version of .NET.

Returns

A collection of events as defined in the project's target version of .NET.

Applies to

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
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10