IniFile Class
From Furcadia Framework
|
|
IniFile Class |
Furcadia Framework For Third Party Programs |
This stuff is still in the planning stages. Any questions or Comments are welcome.
SystemObject Furcadia.IOIniFile
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 42
Top
Top
Top
Top
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:Furcadia.IO.IniFile"]
Inheritance Hierarchy
Namespace: Furcadia.IO
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 42
Syntax
[CLSCompliantAttribute(true)] public class IniFile
<CLSCompliantAttribute(true)> Public Class IniFile Dim instance As IniFile
[CLSCompliantAttribute(true)] public ref class IniFile
[<CLSCompliantAttribute(true)>] type IniFile = class end
The IniFile type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| IniFile |
Initializes a new instance of the IniFile class.
|
Properties
| Name | Description | |
|---|---|---|
| Code |
If a Code section is detected, It's the last section in the ini file and all
lines are read into here.
this is for DSC systyle wizard scripts | |
| Sections |
Gets the sections.
|
Methods
| 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.) |
Extension Methods
| Name | Description | |
|---|---|---|
| AsDouble | (Defined by ObjectExtensions.) | |
| AsInt16 | (Defined by ObjectExtensions.) | |
| AsInt32 | (Defined by ObjectExtensions.) | |
| AsInt64 | (Defined by ObjectExtensions.) | |
| AsString | (Defined by ObjectExtensions.) |
See Also