Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CreateNewElement Method

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.

Community Additions

© 2015 Microsoft