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.

ContextInformation::GetSection Method (String^)

 

Provides an object containing configuration-section information based on the specified section name.

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

public:
Object^ GetSection(
	String^ sectionName
)

Parameters

sectionName
Type: System::String^

The name of the configuration section.

Return Value

Type: System::Object^

An object containing the specified section within the configuration.

When specifying a section within the configuration, note that the name of the configuration section is case-sensitive.

.NET Framework
Available since 2.0
Return to top
Show: