ConfigurationManager Methods |
The ConfigurationManager type exposes the following members.
Name | Description | |
---|---|---|
AddProvider |
Adds an instance of IConfigurationProvider. This enables multiple providers to contribute the the same ConfigurationManager.
| |
AddProviderPriority |
Adds an instance of IConfigurationProvider as the first provider in the provider list giving it priority over the system configuration provider.
This enables multiple providers to contribute the the same ConfigurationManager.
| |
Contains |
Determines whether the configuration contains the specified key.
| |
Get | Obsolete.
Gets the String value for the specified key.
| |
GetBoolean |
Gets the Boolean value for the specified key.
| |
GetInt32 |
Gets the Int32 value for the specified key.
| |
GetKeys |
Gets all keys that can be used to get or set data.
| |
GetValue |
Gets the String value for the specified key.
| |
SetT(DictionaryString, String) | Obsolete.
Sets a collection configuration entries.
| |
SetT(String, T) | Obsolete.
Sets value of the entry with the specified key.
| |
SetValue(DictionaryString, String) |
Sets a collection configuration entries.
| |
SetValueT(DictionaryString, String) | Obsolete.
Sets the value.
| |
SetValueT(String, T) |
Sets value of the entry with the specified key.
| |
TryGetT |
Attempts to get the value associated with the specified key.
|
Name | Description | |
---|---|---|
AddXml | (Defined by ConfigurationManagerXmlExtensions.) | |
AddXmlFile |
Adds an xml configuration file to the configuration manager.
(Defined by ConfigurationManagerXmlExtensions.) |