Share via


ConfigurationElementSchemaCollection.Item[] Property

Definition

Gets the specified configuration element schema from the collection.

Overloads

Item[Int32]

Gets the specified configuration element schema at the specified index.

Item[String]

Gets the specified configuration element schema that has the specified name.

Item[Int32]

Gets the specified configuration element schema at the specified index.

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

Parameters

index
Int32

The index of the ConfigurationElementSchema object to be returned.

Property Value

The ConfigurationElementSchema object at the specified index.

Remarks

You can use the overloads of the Item[] property to return a specific ConfigurationElementSchema object in the collection. This overload returns a specific schema in the collection by the collection index.

Applies to

Item[String]

Gets the specified configuration element schema that has the specified name.

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

Parameters

name
String

The name of the ConfigurationElementSchema object to be returned.

Property Value

The ConfigurationElementSchema object that has the specified name.

Remarks

You can use the overloads of the Item[] property to return a specific ConfigurationElementSchema object in the collection. This overload returns a specific schema in the collection by name. The specific module performs a string comparison that ignores the case of the strings being compared.

Applies to