Method WriteIniValue
WriteIniValue(string, string, string, bool)
Writes value value to the .INI file. Corresponding entry and section are created if necessary.
Declaration
public void WriteIniValue(string iniFilename, string sectionName, string keyName, bool value)
Parameters
Type | Name | Description |
---|---|---|
string | iniFilename | The .INI file to modify. |
string | sectionName | Section to modify. |
string | keyName | Key to write. |
bool | value | Value to write. |
Remarks
Relative paths are counted from the application directory.
Thus, you do not need to provide a full path for the SPACE.INI, for
example. Just pass "SPACE.INI"
string as iniFilename
parameter value.
WriteIniValue(string, string, string, double)
Writes value value to the .INI file. Corresponding entry and section are created if necessary.
Declaration
public void WriteIniValue(string iniFilename, string sectionName, string keyName, double value)
Parameters
Type | Name | Description |
---|---|---|
string | iniFilename | The .INI file to modify. |
string | sectionName | Section to modify. |
string | keyName | Key to write. |
double | value | Value to write. |
Remarks
Relative paths are counted from the application directory.
Thus, you do not need to provide a full path for the SPACE.INI, for
example. Just pass "SPACE.INI"
string as iniFilename
parameter value.
WriteIniValue(string, string, string, int)
Writes value value to the .INI file. Corresponding entry and section are created if necessary.
Declaration
public void WriteIniValue(string iniFilename, string sectionName, string keyName, int value)
Parameters
Type | Name | Description |
---|---|---|
string | iniFilename | The .INI file to modify. |
string | sectionName | Section to modify. |
string | keyName | Key to write. |
int | value | Value to write. |
Remarks
Relative paths are counted from the application directory.
Thus, you do not need to provide a full path for the SPACE.INI, for
example. Just pass "SPACE.INI"
string as iniFilename
parameter value.
WriteIniValue(string, string, string, string)
Writes value value to the .INI file. Corresponding entry and section are created if necessary.
Declaration
public void WriteIniValue(string iniFilename, string sectionName, string keyName, string value)
Parameters
Type | Name | Description |
---|---|---|
string | iniFilename | The .INI file to modify. |
string | sectionName | Section to modify. |
string | keyName | Key to write. |
string | value | Value to write. |
Remarks
Relative paths are counted from the application directory.
Thus, you do not need to provide a full path for the SPACE.INI, for
example. Just pass "SPACE.INI"
string as iniFilename
parameter value.