LoadEnvironmentSettings(NameValueCollection) Method
A NameValueCollection of values with which to attempt a load configuration values.
Forces a load of new configuration values, using the supplied collection if possible.
Syntax
'Declaration
Public Overloads Shared Function LoadEnvironmentSettings( _
ByVal _initialValues_ As NameValueCollection _
) As NameValueCollection
public static NameValueCollection LoadEnvironmentSettings(
NameValueCollection _initialValues_
)
Parameters
initialValues
A NameValueCollection of values with which to attempt a load configuration values.
Return Value
A NameValueCollection of values produced by loading the environment settings either from the provided collection, from the current application configuration, or a merge of both.
Exceptions
Exception | Description |
---|---|
FCInvalidConfigurationException | One or more required configuration values was not found in the specified initialValues collection. |
Remarks
Required parameters will be checked and a FCConfiguration will force a reload of settings based on the supplied values when this method is called.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family