SectionDefinitionCollection.Add Method (String)

 

Adds a new section definition to the collection.

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

public SectionDefinition Add(
	string sectionName
)

Parameters

sectionName
Type: System.String

The name of the section to be added.

Return Value

Type: Microsoft.Web.Administration.SectionDefinition

The SectionDefinition object that this method created.

The name of the section must be unique to the SectionGroup object that this SectionDefinitionCollection object belongs to.

Return to top
Show: