DataSourceElementCollection Class

Definition

The Data source element collection.

public ref class DataSourceElementCollection sealed : System::Configuration::ConfigurationElementCollection
public sealed class DataSourceElementCollection : System.Configuration.ConfigurationElementCollection
type DataSourceElementCollection = class
    inherit ConfigurationElementCollection
Public NotInheritable Class DataSourceElementCollection
Inherits ConfigurationElementCollection
Inheritance
DataSourceElementCollection

Constructors

DataSourceElementCollection()

Initializes a new instance of the DataSourceElementCollection class.

Properties

Item[Int32]

Gets the configuration element at the specified index location.

Item[String]

Returns the configuration element with the specified key.

Methods

Add(DataSourceElement)

Adds a configuration element to the configuration element collection.

Clear()

Removes all configuration element objects from the collection.

Remove(DataSourceElement)

Removes a System.Configuration.ConfigurationElement from the collection.

Remove(String)

Removes a System.Configuration.ConfigurationElement from the collection.

Applies to