ProviderConfigurationSettings.LoadSettings(String[]) Method

Definition

Loads the settings from the specified array into the provider configuration settings.

public:
 void LoadSettings(cli::array <System::String ^> ^ parameters);
public void LoadSettings (string[] parameters);
member this.LoadSettings : string[] -> unit
Public Sub LoadSettings (parameters As String())

Parameters

parameters
String[]

The array to load.

Remarks

When the array specified by the parameters parameter is loaded, you can access the provider configuration as a System.Collections.IDictionary interface by using the GetSettings method.

You should set the string array in key/value pairs. For example, the array should be defined similar to the following:

string[parameters] = {  
    "key0", "value0",  
    "key1", "value1",  
    "key2", "value2"  
}  

For an example of this method, see the example for the ProviderConfigurationSettings class.

Applies to