ConfigurationSectionCollection::Item Property (String^)

 

Gets the specified ConfigurationSection object.

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

public:
property ConfigurationSection^ default[
	String^ name
] {
	ConfigurationSection^ get(String^ name);
}

Parameters

name
Type: System::String^

The name of the ConfigurationSection object to be returned.

Property Value

Type: System.Configuration::ConfigurationSection^

The ConfigurationSection object with the specified name.

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: