<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview3.19551.4" />

SettingsPropertyCollection

Contains a collection of SettingsProperty objects.
public int Count { get; }

Gets a value that specifies the number of SettingsProperty objects in the collection.

public bool IsSynchronized { get; }

Gets a value that indicates whether access to the collection is synchronized (thread safe).

public SettingsProperty this[string name] { get; }

Gets the collection item with the specified name.

public object SyncRoot { get; }

Gets the object to synchronize access to the collection.

Initializes a new instance of the SettingsPropertyCollection class.

public void Add(SettingsProperty property)

Adds a SettingsProperty object to the collection.

public void Clear()

Removes all SettingsProperty objects from the collection.

public object Clone()

Creates a copy of the existing collection.

public void CopyTo(Array array, int index)

Copies this SettingsPropertyCollection object to an array.

Gets the IEnumerator object as it applies to the collection.

protected virtual void OnAdd(SettingsProperty property)

Performs additional, custom processing when adding to the contents of the SettingsPropertyCollection instance.

protected virtual void OnAddComplete(SettingsProperty property)

Performs additional, custom processing after adding to the contents of the SettingsPropertyCollection instance.

protected virtual void OnClear()

Performs additional, custom processing when clearing the contents of the SettingsPropertyCollection instance.

protected virtual void OnClearComplete()

Performs additional, custom processing after clearing the contents of the SettingsPropertyCollection instance.

protected virtual void OnRemove(SettingsProperty property)

Performs additional, custom processing when removing the contents of the SettingsPropertyCollection instance.

protected virtual void OnRemoveComplete(SettingsProperty property)

Performs additional, custom processing after removing the contents of the SettingsPropertyCollection instance.

public void Remove(string name)

Removes a SettingsProperty object from the collection.

public void SetReadOnly()

Sets the collection to be read-only.