Common Logging 2.0 API Reference

IConfigurationReader.GetSection Method

Parses the configuration section and returns the resulting object.

[Visual Basic]
Public Sub GetSection( _
   ByVal sectionName As String _
)
[C#]
object GetSection(
   string sectionName
);

Parameters

sectionName
Name of the configuration section.

Return Value

Object created by a corresponding IConfigurationSectionHandler.

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

IConfigurationReader Interface | Common.Logging Namespace