ConfigurationSectionCollection::Item Property (Int32)

 

Gets the specified ConfigurationSection object.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
property ConfigurationSection^ default[
	int index
] {
	ConfigurationSection^ get(int index);
}

Parameters

index
Type: System::Int32

The index of the ConfigurationSection object to be returned.

Property Value

Type: System.Configuration::ConfigurationSection^

The ConfigurationSection object at the specified index.

This property gets the specified entry of the ConfigurationSectionCollection object.

In C#, this property is the indexer for the ConfigurationSectionCollection class.

The following code example shows how to use Item.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: