FileConfigurationSource.DoGetSection Method
Retrieves the specified ConfigurationSection from the configuration file.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
Protected Overrides Function DoGetSection ( _
sectionName As String _
) As ConfigurationSection
protected override ConfigurationSection DoGetSection(
string sectionName
)
protected:
virtual ConfigurationSection^ DoGetSection(
String^ sectionName
) override
protected override function DoGetSection(
sectionName : String
) : ConfigurationSection
Parameters
- sectionName
Type: System.String
The section name.
Return Value
The section, or nulla null reference (Nothing in Visual Basic) if it doesn't exist.
See Also
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace