Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft