T_Furcadia_IO_IniFile - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki
This stuff is still in the planning stages. Any questions or Comments are welcome. [This is preliminary documentation and is subject to change.]
[Missing
System.Object
Furcadia.IO.IniFile
Namespace: Furcadia.IO
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 43
C#
[CLSCompliantAttribute(true)]
public class IniFile
VB
<CLSCompliantAttribute(true)>
Public Class IniFile
VB Usage
Dim instance As IniFile
C++
[CLSCompliantAttribute(true)]
public ref class IniFile
F#
[<CLSCompliantAttribute(true)>]
type IniFile = class end
The IniFile type exposes the following members.
Name | Description | |
---|---|---|
IniFile | Initializes a new instance of the IniFile class. |
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. |
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(IniFile.IniSection) | 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 | (Defined by ObjectExtensions.) | |
AsInt16 | (Defined by ObjectExtensions.) | |
AsInt32 | (Defined by ObjectExtensions.) | |
AsInt64 | (Defined by ObjectExtensions.) | |
AsString | (Defined by ObjectExtensions.) |