ConfigurationElementCollectionBase<T>.Add Method (T)

 

Adds a configuration element to the end of the current collection.

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

public T Add(
	T element
)

Parameters

element
Type: T

The configuration element to add to the collection.

Return Value

Type: T

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

Exception Condition
ArgumentNullException

element is null.

Return to top
Show: