Common Logging 2.0 API Reference

DefaultConfigurationReader.GetSection Method

Parses the configuration section and returns the resulting object.

[Visual Basic]
Public NotOverridable Sub GetSection( _
   ByVal sectionName As String _
) _
    Implements IConfigurationReader.GetSection
[C#]
public object GetSection(
   string sectionName
);

Parameters

sectionName
Name of the configuration section.

Return Value

Object created by a corresponding IConfigurationSectionHandler.

Implements

IConfigurationReader.GetSection

Remarks

Primary purpose of this method is to allow us to parse and load configuration sections using the same API regardless of the .NET framework version.

See Also

DefaultConfigurationReader Class | Common.Logging.Configuration Namespace