Class for helping with INI files
More...
Class for helping with INI files
Definition at line 34 of file INI.cs.
Utilities.IO.FileFormats.INI.INI |
( |
| ) |
|
Constructor
Definition at line 41 of file INI.cs.
Utilities.IO.FileFormats.INI.INI |
( |
string |
FileName | ) |
|
Constructor
- Parameters
-
Definition at line 50 of file INI.cs.
virtual bool Utilities.IO.FileFormats.INI.DeleteFromINI |
( |
string |
Section | ) |
|
|
virtual |
Deletes a section from the INI file
- Parameters
-
- Returns
- True if it is removed, false otherwise
Definition at line 71 of file INI.cs.
virtual bool Utilities.IO.FileFormats.INI.DeleteFromINI |
( |
string |
Section, |
|
|
string |
Key |
|
) |
| |
|
virtual |
Deletes a key from the INI file
- Parameters
-
Section | Section the key is under |
Key | Key to remove |
- Returns
- True if it is removed, false otherwise
Definition at line 88 of file INI.cs.
override void Utilities.IO.FileFormats.INI.LoadFromData |
( |
string |
Data | ) |
|
|
protectedvirtual |
virtual string Utilities.IO.FileFormats.INI.ReadFromINI |
( |
string |
Section, |
|
|
string |
Key, |
|
|
string |
DefaultValue = "" |
|
) |
| |
|
virtual |
Reads a value from an INI file
- Parameters
-
Section | Section |
Key | Key |
DefaultValue | Default value if it does not exist |
Definition at line 105 of file INI.cs.
override string Utilities.IO.FileFormats.INI.ToString |
( |
| ) |
|
Convert the INI to a string
- Returns
- The INI file as a string
Definition at line 116 of file INI.cs.
virtual string Utilities.IO.FileFormats.INI.ToXML |
( |
| ) |
|
|
virtual |
Returns an XML representation of the INI file
- Returns
- An XML representation of the INI file
Definition at line 132 of file INI.cs.
virtual void Utilities.IO.FileFormats.INI.WriteToINI |
( |
string |
Section, |
|
|
string |
Key, |
|
|
string |
Value |
|
) |
| |
|
virtual |
Writes a change to an INI file
- Parameters
-
Section | Section |
Key | Key |
Value | Value |
Definition at line 158 of file INI.cs.
virtual string Utilities.IO.FileFormats.INI.FileName |
|
getset |
Name of the file
Definition at line 59 of file INI.cs.
The documentation for this class was generated from the following file:
- Utilities/IO/FileFormats/INI.cs