Share via


ConfigurationChildElementCollection.Item[] Property

Definition

Gets the specified configuration element.

Overloads

Item[Int32]

Gets the specified configuration element at the specified index.

Item[String]

Gets the specified configuration element with the specified name.

Item[Int32]

Gets the specified configuration element at the specified index.

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

Parameters

index
Int32

The index of the ConfigurationElement object to be returned.

Property Value

The ConfigurationElement object at the specified index.

Applies to

Item[String]

Gets the specified configuration element with the specified name.

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

Parameters

name
String

The name of the ConfigurationElement object to be returned.

Property Value

The ConfigurationElement object with the specified name.

Applies to