IConfigurationSource.GetSection Method
Retrieves the specified ConfigurationSection.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
ConfigurationSection GetSection(
string sectionName
)
'Declaration
Function GetSection (
sectionName As String
) As ConfigurationSection
ConfigurationSection^ GetSection(
String^ sectionName
)
Parameters
- sectionName
Type: System.String
The name of the section to be retrieved.
Return Value
Type: ConfigurationSection
The specified ConfigurationSection, or nulla null reference (Nothing in Visual Basic) (Nothing in Visual Basic) if a section by that name is not found.
See Also
IConfigurationSource Interface
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace