Export (0) Print
Expand All

ConfigurationPropertyAttribute.IsDefaultCollection Property

Gets or sets a value indicating whether this is the default property collection for the decorated configuration property.

Namespace:  System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public bool IsDefaultCollection { get; set; }

Property Value

Type: System.Boolean
true if the property represents the default collection of an element; otherwise, false. The default is false.

The IsDefaultCollection property value is ignored if the decorated property is not a collection.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft