Export (0) Print
Expand All

CreateNewElement Method

IIS 7.0

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
)

Parameters

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

ADD
Show:
© 2014 Microsoft