ConfigurationElementCollectionBase<T>.AddAt Method (Int32, T)

 

Adds a configuration element to the current collection at the specified index.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public T AddAt(
	int index,
	T element
)

Parameters

index
Type: System.Int32

The index in the collection where the new element should be inserted.

element
Type: T

The new configuration element to add to the current collection.

Return Value

Type: T

A reference to the strongly typed configuration element that is added to the collection.

Return to top
Show: