<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview5.19224.8" />

ConnectionStringSettingsCollection

Contains a collection of ConnectionStringSettings objects.
public ConnectionStringSettings this[int index] { get; set; }

Gets or sets the connection string at the specified index in the collection.

public ConnectionStringSettings this[string name] { get; }

Gets or sets the ConnectionStringSettings object with the specified name in the collection.

Initializes a new instance of the ConnectionStringSettingsCollection class.

public void Add(ConnectionStringSettings settings)

Adds a ConnectionStringSettings object to the collection.

public void Clear()

Removes all the ConnectionStringSettings objects from the collection.

public int IndexOf(ConnectionStringSettings settings)

Returns the collection index of the passed ConnectionStringSettings object.

public void Remove(ConnectionStringSettings settings)

Removes the specified ConnectionStringSettings object from the collection.

public void Remove(string name)

Removes the specified ConnectionStringSettings object from the collection.

public void RemoveAt(int index)

Removes the ConnectionStringSettings object at the specified index in the collection.