The C1Configuration type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| C1Configuration |
Creates a C1Configuration
|
Methods
| Name | Description | |
|---|---|---|
| GetSection |
Gets a named configuration section.
| |
| GetSectionGroup |
Gets a named configuration section group.
| |
| Save()()()() |
Saves the configuration.
| |
| Save(ConfigurationSaveMode) |
Saves the configuration.
| |
| Save(ConfigurationSaveMode, Boolean) |
Saves the configuration.
| |
| SaveAs(String) |
Saves the configuration to a new file.
| |
| SaveAs(String, ConfigurationSaveMode) |
Saves the configuration to a new file.
| |
| SaveAs(String, ConfigurationSaveMode, Boolean) |
Saves the configuration to a new file.
|
Properties
| Name | Description | |
|---|---|---|
| AppSettings |
Returns the app setttings section.
| |
| ConnectionStrings |
Returns the connection string section.
| |
| FilePath |
Gets the path to the configuration file.
| |
| HasFile |
Returns true if the configuration file exists.
| |
| RootSectionGroup |
Returns the configuration section group.
| |
| SectionGroups |
Returns the configuration slection groups.
| |
| Sections |
Returns the configuration sections.
|