The IniFile type exposes the following members.

Constructors

  Name Description
Public method IniFile
Initializes a new instance of the IniFile class.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetEnumerator
Gets an enumerator to traverse the sections in this IniFile.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Load(Stream)
Loads the IniFile from the specified Stream.
Public method Load(TextReader)
Loads the IniFile from the specified TextReader.
Public method Load(String)
Loads the IniFile from the specified file.
Public method Save(Stream)
Saves the IniFile to the specified Stream.
Public method Save(TextWriter)
Saves the IniFile to the specified TextWriter.
Public method Save(String)
Saves the IniFile to the file.
Public method ToString
Returns the string representation of this IniFile.
(Overrides Object..::..ToString()()()().)

Extension Methods

  Name Description
Public Extension Method IsNullOrDBNull
Inidicates whether the specified Object is null or DBNull.
(Defined by ObjectExtensions.)

Properties

  Name Description
Public property IsDirty
Gets a value indicating whether this IniFile is dirty.
Public property Item
Gets the IniFileSection with a given name.
Public property Sections
Gets the IniFileSectionCollection of sections contained in this file.

See Also