Item Property (Int32)
Collapse the table of content
Expand the table of content

ConfigurationSectionCollection.Item Property (Int32)


Gets the specified ConfigurationSection object.

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

public ConfigurationSection this[
	int index
] { get; }


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.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft