Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConfigurationUtils.GetSection Method

Parses the configuration section.

[Visual Basic]
Public Shared Sub GetSection( _
   ByVal sectionName As String _
)
[C#]
public static 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.

If Microsoft paid a bit more attention to preserving backwards compatibility we would not even need it, but... :(

See Also

ConfigurationUtils Class | Spring.Util Namespace