Config Helper
ConfigReaderWriter Class Members
Properties  Methods 


KellermanSoftware.ConfigHelper Namespace : ConfigReaderWriter Class

The following tables list the members exposed by ConfigReaderWriter.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property Get the current configuration from the web.config or app.config  
Public Property Get the path to the current app.config or web.config or load a configuration file  
Top
Public Methods
 NameDescription
Public Method Returns true if the app setting exists  
Public Method Returns true if the connection string setting exists  
Public Method Read a setting from the appSettings section of the current app.config or web.config  
Public Method Read a connection string from the connectionStrings section of the current app.config or web.config  
Public Method Read a setting from a custom section  
Public Method Write a setting to the appSettings section. If it does not exist it will be added. If it does exist, the value will be replaced.  
Public Method Write a setting to the connectionStrings section. If it does not exist it will be added. If it does exist, the value will be replaced.  
Top
See Also

Reference

ConfigReaderWriter Class
KellermanSoftware.ConfigHelper Namespace