ConfigurationElementCollectionBase<T>.CreateNewElement Method (String)


Creates a new element by using the specified element name.

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

protected virtual T CreateNewElement(
	string elementTagName


Type: System.String

The name of the element to create.

Return Value

Type: T

A reference to the strongly typed configuration element that was created.

Both overloads of the CreateElement method call the CreateNewElement method.

Return to top