INIFile Class |
The INIFile type exposes the following members.
| Name | Description | |
|---|---|---|
| INIFile | Costruttore senza parametri. | |
| INIFile(String) | Costruttore con argomento per inizializzare il nome file. |
| Name | Description | |
|---|---|---|
| Dirty | Indica se la struttura è stata modificata e quindi necessita di essere scritta su file. | |
| FileName | Imposta o restituisce il nome del file contenente le impostazioni. | |
| Loaded | Indica se il file di impostazione è stato letto e caricato in memoria correttamente. | |
| Sections | Restituisce una collezione di sola lettura contenente tutte le Sezioni presenti nel file. |
| Name | Description | |
|---|---|---|
| DeleteKey | Elimina la chiave da una specifica sezione. Se la chiave o la sezione non esiste non viene sollevata alcuna eccezione. | |
| DeleteSection | Elimina l'intera sezione con tutte le chiavi contenute. Se la sezione non esiste non viene sollevata alcuna eccezione. | |
| 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) | |
| GetRawLines | Gets the raw lines (skip comments) | |
| GetSectionKeys | Restituisce la collezione delle chiavi presenti attualmente in una sezione. | |
| GetSectionRawLines | Gets the section lines. The raw text of the section. Skip comments. | |
| GetString | Restituisce il valore presente nella sezione ed alla chiave specificata. Se una delle due non esiste viene restituito il valore di default. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read | Carica in memoria la struttura dati contenuta nel file di impostazione. | |
| Read(String) | Carica in memoria la struttura dati contenuta nel file di impostazioni passato come argomento. | |
| SetString | Imposta il valore nella sezione ed alla chiave specificata. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryWrite | Scrive su file le impostazioni presenti in memoria senza lanciare eccezioni ma restituendo se è riuscito o meno. | |
| Write | Scrive su file le impostazioni presenti in memoria. |