|
|
IniFile Methods |
[This is preliminary documentation and is subject to change.]
The IniFile type exposes the following members.
| Name | Description | |
|---|---|---|
| AddSection |
Adds a section to the IniFile object, returns a IniSection object
to the new or existing object
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetKeyValue |
Gets the key value.
| |
| GetSection |
Gets the section.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Load |
Loads the Reads the data in the ini file into the IniFile object
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveAllSections |
Removes all existing sections, returns trus on success
| |
| RemoveKey |
Remove a key by section name and key name
| |
| RemoveSection(String) |
Removes a section by its name sSection, returns trus on success
| |
| RemoveSection(IniFileIniSection) |
Removes section by object, returns trus on success
| |
| RenameKey |
Renames an existing key returns true on success, false if the key
didn't exist or there was another section with the same sNewKey
| |
| RenameSection |
Renames an existing section returns true on success, false if the
section didn't exist or there was another section with the same sNewSection
| |
| Save |
Used to save the data back to the file or your choice
| |
| SetKeyValue |
Sets a KeyValuePair in a certain section
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AsDouble |
Ases the double.
(Defined by ObjectExtensions.) | |
| AsInt16 |
converts an object to 16 bit integer
(Defined by ObjectExtensions.) | |
| AsInt32 |
Ases the int32.
(Defined by ObjectExtensions.) | |
| AsInt64 |
Ases the int64.
(Defined by ObjectExtensions.) | |
| AsString |
Ases the string.
(Defined by ObjectExtensions.) |