<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview9.19416.11" />

ProviderCollection

Represents a collection of provider objects that inherit from ProviderBase.
public int Count { get; }

Gets the number of providers in the collection.

public bool IsSynchronized { get; }

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

public ProviderBase this[string name] { get; }

Gets the provider with the specified name.

public object SyncRoot { get; }

Gets the current object.

Initializes a new instance of the ProviderCollection class.

public virtual void Add(ProviderBase provider)

Adds a provider to the collection.

public void Clear()

Removes all items from the collection.

public void CopyTo(ProviderBase[] array, int index)

Copies the contents of the collection to the given array starting at the specified index.

Returns an object that implements the IEnumerator interface to iterate through the collection.

public void Remove(string name)

Removes a provider from the collection.

public void SetReadOnly()

Sets the collection to be read-only.