IniDocument Class
From TG.INI
TG.INI
IniDocument Class |
Represents an INI file structure.
Namespace: TG.INI
Assembly: TG.INI (in TG.INI.dll) Version: 1.2.2.0 (1.2.2.0)
The IniDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| IniDocument |
Initializes a new IniDocument.
| |
| IniDocument(Stream) |
Initializes a new instance of IniDocument then reads from a stream.
| |
| IniDocument(Object) |
Initializes a new instance of IniDocument and deserializes the provided object.
| |
| IniDocument(String) |
Initializes a new instance of IniDocument then reads from a path.
| |
| IniDocument(IEncryptionHandler) |
Initializes a new instance of IniDocument with a designated IEncryptionHandler.
| |
| IniDocument(Stream, IEncryptionHandler) |
Initializes a new instance of IniDocument then reads from a stream.
| |
| IniDocument(String, IEncryptionHandler) |
Initializes a new instance of IniDocument then reads from a path.
|
| Name | Description | |
|---|---|---|
| CommentLineIndicator |
Gets or Sets the string that indicates a line is a comment.
| |
| EncryptionHandler |
Get or set the IEncryptionHandler to use for encryption.
| |
| GlobalSection |
Gets the Global section of the INI file.
| |
| HasEncryptionHandler |
Gets if the EncryptionHandler property is not null.
| |
| Item |
Gets a IniSection by name.
| |
| QuoteAllValues |
Gets or Sets whether all Value properties should be quoted on output.
| |
| Sections |
Gets a collection of IniSection.
|
| Name | Description | |
|---|---|---|
| Clone |
Clones the current IniDocument and creates a new instance.
| |
| Dispose |
Disposes the document.
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetKeyValue(String) |
Navigates to a section and looks for a key from the path.
| |
| GetKeyValue(String, Boolean) |
Navigates to a section and looks for a key from the path.
| |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| Parse(String) |
Parses an INI string.
| |
| Parse(String, IEncryptionHandler) |
Parses an INI string.
| |
| Read(Stream) |
Reads an INI file from a stream and parses the data.
| |
| Read(TextReader) |
Reads an INI file and parses the data.
| |
| Read(String) |
Reads an INI file and parses the data.
| |
| ShowEditor |
Shows the IniEditor window for the current IniDocument.
| |
| ShowEditor(EditorPrivileges) |
Shows the IniEditor window for the current IniDocument.
| |
| ToString |
Returns the INI data as string.
(Overrides ObjectToString.) | |
| Write(Stream) |
Writes the content of IniDocument to a Stream.
| |
| Write(TextWriter) |
Writes the content of IniDocument to a TextWriter.
| |
| Write(String) |
Writes the content of IniDocument to a file./>.
|