Share via


SectionDefinitionCollection.Item[] Property

Definition

Gets the specified section definition.

Overloads

Item[Int32]

Gets the specified section definition at the specified index.

Item[String]

Gets the specified section definition that has the specified name.

Item[Int32]

Gets the specified section definition at the specified index.

public:
 property Microsoft::Web::Administration::SectionDefinition ^ default[int] { Microsoft::Web::Administration::SectionDefinition ^ get(int index); };
public Microsoft.Web.Administration.SectionDefinition this[int index] { get; }
member this.Item(int) : Microsoft.Web.Administration.SectionDefinition
Default Public ReadOnly Property Item(index As Integer) As SectionDefinition

Parameters

index
Int32

The index of the SectionDefinition object to get.

Property Value

The SectionDefinition object at the specified index.

Applies to

Item[String]

Gets the specified section definition that has the specified name.

public:
 property Microsoft::Web::Administration::SectionDefinition ^ default[System::String ^] { Microsoft::Web::Administration::SectionDefinition ^ get(System::String ^ sectionName); };
public Microsoft.Web.Administration.SectionDefinition this[string sectionName] { get; }
member this.Item(string) : Microsoft.Web.Administration.SectionDefinition
Default Public ReadOnly Property Item(sectionName As String) As SectionDefinition

Parameters

sectionName
String

The name of the SectionDefinition object to get.

Property Value

The SectionDefinition object that has the specified name.

Applies to