Click or drag to resize

ConfigurationManager Methods

The ConfigurationManager type exposes the following members.

Methods
  NameDescription
Public methodAddProvider
Adds an instance of IConfigurationProvider. This enables multiple providers to contribute the the same ConfigurationManager.
Public methodAddProviderPriority
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.
Public methodContains
Determines whether the configuration contains the specified key.
Public methodGet Obsolete.
Gets the String value for the specified key.
Public methodGetBoolean
Gets the Boolean value for the specified key.
Public methodGetInt32
Gets the Int32 value for the specified key.
Public methodGetKeys
Gets all keys that can be used to get or set data.
Public methodGetValue
Gets the String value for the specified key.
Public methodSetT(DictionaryString, String) Obsolete.
Sets a collection configuration entries.
Public methodSetT(String, T) Obsolete.
Sets value of the entry with the specified key.
Public methodSetValue(DictionaryString, String)
Sets a collection configuration entries.
Public methodSetValueT(DictionaryString, String) Obsolete.
Sets the value.
Public methodSetValueT(String, T)
Sets value of the entry with the specified key.
Public methodTryGetT
Attempts to get the value associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodAddXml (Defined by ConfigurationManagerXmlExtensions.)
Public Extension MethodAddXmlFile
Adds an xml configuration file to the configuration manager.
(Defined by ConfigurationManagerXmlExtensions.)
Top
See Also