SectionGroupCollection.Add(String) Method

Definition

Adds a new section group to the collection.

public:
 Microsoft::Web::Administration::SectionGroup ^ Add(System::String ^ sectionGroupName);
public Microsoft.Web.Administration.SectionGroup Add (string sectionGroupName);
member this.Add : string -> Microsoft.Web.Administration.SectionGroup
Public Function Add (sectionGroupName As String) As SectionGroup

Parameters

sectionGroupName
String

The name of the section group to be added.

Returns

The SectionGroup object that this method created.

Remarks

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

Applies to