SectionDefinitionCollection.Add(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new section definition to the collection.
public:
Microsoft::Web::Administration::SectionDefinition ^ Add(System::String ^ sectionName);
public Microsoft.Web.Administration.SectionDefinition Add (string sectionName);
member this.Add : string -> Microsoft.Web.Administration.SectionDefinition
Public Function Add (sectionName As String) As SectionDefinition
Parameters
- sectionName
- String
The name of the section to be added.
Returns
The SectionDefinition object that this method created.
Remarks
The name of the section must be unique to the SectionGroup object that this SectionDefinitionCollection object belongs to.