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
Available since 2.0
Return to top