Op Englesch liesen Editéieren

Deelen iwwer


PropertyDescriptorCollection Constructors

Definition

Initializes a new instance of the PropertyDescriptorCollection class.

Overloads

PropertyDescriptorCollection(PropertyDescriptor[])

Initializes a new instance of the PropertyDescriptorCollection class.

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

Initializes a new instance of the PropertyDescriptorCollection class, which is optionally read-only.

PropertyDescriptorCollection(PropertyDescriptor[])

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

Initializes a new instance of the PropertyDescriptorCollection class.

C#
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties);
C#
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties);

Parameters

properties
PropertyDescriptor[]

An array of type PropertyDescriptor that provides the properties for this collection.

See also

Applies to

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 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
.NET Standard 2.0, 2.1

PropertyDescriptorCollection(PropertyDescriptor[], Boolean)

Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs
Source:
PropertyDescriptorCollection.cs

Initializes a new instance of the PropertyDescriptorCollection class, which is optionally read-only.

C#
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[]? properties, bool readOnly);
C#
public PropertyDescriptorCollection(System.ComponentModel.PropertyDescriptor[] properties, bool readOnly);

Parameters

properties
PropertyDescriptor[]

An array of type PropertyDescriptor that provides the properties for this collection.

readOnly
Boolean

If true, specifies that the collection cannot be modified.

See also

Applies to

.NET 10 an aner Versiounen
Produkt Versiounen
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 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
.NET Standard 2.0, 2.1