IniResourceWriter

IniResourceWriter


Creates an entire section at once in an INI file.


Implements:

IObject 
IResourceWriter 

Public:

Properties:

NameDescription
 FileName (get) Returns the name of the INI file.  
 Section (get) Returns the name of the section to write all the key-value pairs to.  

Methods:

NameDescription
 AddResource Adds a key-value pair into the writer in preparation of creating an INI section.  
 CloseWriter Saves the resources to the ini file and then closes it.  
 Equals Returns a boolean indicating if the value and this object instance are the same instance.  
 Generate Creates a section within an INI file.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 ToString Returns a string representation of this object instance.  

Remarks

All values in the specified section are deleted, so there is no merging of the existing section key-value pairs and the new key-value pairs. Only the new key-value pairs will exist in the section once generated.

See Also

Project CorLib Overview

Class IniResourceWriter Overview