Export (0) Print
Expand All

CreateElement Method

IIS 7.0

Creates a new child element for the current collection.

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

public T CreateElement()

Return Value

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

This overload creates an element by using the <add> element name defined in the configuration schema. To specify the name of the child item being created, use the CreateElement(String) overload, which takes a string parameter.

Community Additions

ADD
Show:
© 2015 Microsoft