Skip to content

Commit 31bda08

Browse files
authored
Update INIConfigIO.md
1 parent fb203ce commit 31bda08

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

docs/usage/INIConfigIO.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,26 @@ INIConfigIO iniFile = new INIConfigIO("file.ini");
1515

1616
Instance functions help in reading and writing the INI file:
1717

18+
 
19+
1820
* *Clear()* - Clears the in-memory data but does not effect the file till it is saved.
1921
* *SaveFile()* - Saves the in-memory data into the given file.
22+
23+
24+
* IEnumerable<string> *GetSectionNames()* - Gets all the section names present in the file.
2025

21-
* *IEnumerable*<*string*> *GetSectionNames()* - Gets all the section names present in the file.
22-
*
23-
* *string* *GetString* (string *key*, string *defaultValue* = "") - Gets a value as a string, default value is returned when the key is not present in the file.
24-
* *int* *GetInteger* (string *key*, int *defaultValue* = -1) - Gets a value as an integer, default value is returned when the key is not present in the file.
25-
* *float* *GetFloat* (string *key*, float *defaultValue* = 0) - Gets a value as a float, default value is returned when the key is not present in the file.
26-
* *double* *GetDouble* (string *key*, double *defaultValue* = 0) - Gets a value as a double, default value is returned when the key is not present in the file.
27-
26+
* string *GetString* (string *key*, string *defaultValue* = "") - Gets a value as a string, default value is returned when the key is not present in the file.
27+
* int *GetInteger* (string *key*, int *defaultValue* = -1) - Gets a value as an integer, default value is returned when the key is not present in the file.
28+
* float *GetFloat* (string *key*, float *defaultValue* = 0) - Gets a value as a float, default value is returned when the key is not present in the file.
29+
* double *GetDouble* (string *key*, double *defaultValue* = 0) - Gets a value as a double, default value is returned when the key is not present in the file.
30+
31+
2832
* *SetString* (string *key*, string *value*) - Sets specified key's value to the given value
2933
* *SetInteger* (string *key*, int *value*) - Sets specified key's value to the given value
3034
* *SetFloat* (string *key*, float *value*) - Sets specified key's value to the given value
3135
* *SetDouble* (string *key*, double *value*) - Sets specified key's value to the given value
3236

37+
&nbsp;
3338

3439
For example, consider the following INI file:
3540

0 commit comments

Comments
 (0)