ConfigurationReader.PopulateFromAppConfig Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConfigurationReader.PopulateFromAppConfig Method

Populates the supplied properties with values from a .NET application configuration file.

[Visual Basic]
Public Shared Sub PopulateFromAppConfig( _
   ByVal properties As NameValueCollection, _
   ByVal configSectionName As String, _
   ByVal overrideValues As Boolean _
public static bool PopulateFromAppConfig(
   NameValueCollection properties,
   string configSectionName,
   bool overrideValues


The NameValueCollection to add any key-value pairs to.
The configuration section name in the a .NET application configuration file.
If a key already exists, is its value to be appended to the current value or replaced?

Return Value

true if the supplied configSectionName was found.

See Also

ConfigurationReader Class | Spring.Objects.Factory.Config Namespace