ConfigurationPropertyAttribute.IsDefaultCollection Property

Definition

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

public:
 property bool IsDefaultCollection { bool get(); void set(bool value); };
public bool IsDefaultCollection { get; set; }
member this.IsDefaultCollection : bool with get, set
Public Property IsDefaultCollection As Boolean

Property Value

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

Remarks

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

Applies to