ConfigurationElementCollectionBase<T>.AddAt(Int32, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a configuration element to the current collection at the specified index.
public:
T AddAt(int index, T element);
public T AddAt (int index, T element);
member this.AddAt : int * 'T -> 'T
Public Function AddAt (index As Integer, element As T) As T
Parameters
- index
- Int32
The index in the collection where the new element should be inserted.
- element
- T
The new configuration element to add to the current collection.
Returns
T
A reference to the strongly typed configuration element that is added to the collection.