Метод | Описание | |
---|---|---|
FindOrCreateSection ( string name ) : |
Return the section with the given name, creating it if necessary.
|
|
IniFile ( ) : System |
Create a new in-memory initialization file.
|
|
IniFile ( |
Create a new in-memory initialization file with the defined behavior.
|
|
IniFile ( string path ) : System |
Create an initialization file, loading from the given path. This path must exist.
|
|
IniFile ( string path, |
Initialise the file, loading it from the system.
|
|
this ( string sectionName ) : |
Get a section with the specified name.
|
|
this ( string sectionName, string settingName ) : string |
Get a value from the .ini file.
|
|
this ( string sectionName, string settingName, string defaultValue ) : string |
Get a value from the .ini file, supplying a default value if it's not found.
|
public FindOrCreateSection ( string name ) : |
||
name | string | The name of the section. |
Результат |
public IniFile ( |
||
behavior | The behavior to follow. | |
Результат | System |
public IniFile ( string path, |
||
path | string | |
behavior | ||
Результат | System |
public this ( string sectionName ) : |
||
sectionName | string | |
Результат |
public this ( string sectionName, string settingName ) : string | ||
sectionName | string | |
settingName | string | |
Результат | string |
public this ( string sectionName, string settingName, string defaultValue ) : string | ||
sectionName | string | |
settingName | string | |
defaultValue | string | |
Результат | string |