ConfigurationSectionCollection::Get Method (String^)

 

Gets the specified ConfigurationSection object contained in this ConfigurationSectionCollection object.

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

public:
ConfigurationSection^ Get(
	String^ name
)

Parameters

name
Type: System::String^

The name of the ConfigurationSection object to be returned.

Return Value

Type: System.Configuration::ConfigurationSection^

The ConfigurationSection object with the specified name.

Exception Condition
ArgumentException

name is null or an empty string ("").

The following code example shows how to use Get.

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

.NET Framework
Available since 2.0
Return to top
Show: