ConfigurationElementCollection.BaseAdd Method (Int32, ConfigurationElement)

 

Adds a configuration element to the configuration element collection.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

Protected Overridable Sub BaseAdd (
	index As Integer,
	element As ConfigurationElement
)

Parameters

index
Type: System.Int32

The index location at which to add the specified ConfigurationElement.

element
Type: System.Configuration.ConfigurationElement

The ConfigurationElement to add.

Use the index parameter to add the ConfigurationElement object to the ConfigurationElementCollection at a specific index location.

.NET Framework
Available since 2.0
Return to top
Show: