PeterO.IniFile
PeterO.IniFile
public sealed class IniFile : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
Not documented yet.
Member Summary
AddSection(string)
- Not documented yet.AddSection(string, PeterO.IniMergeBehavior)
- Not documented yet.Count
- Gets a value not documented yet.GetSection(string)
- Not documented yet.GetValue(string, string)
- Not documented yet.RemoveSection(string)
- Not documented yet.Save(string)
- Not documented yet.SetValue(string, string, string)
- Not documented yet.ToString()
- Converts this object to a text string.WriteToStream(System.IO.StreamWriter)
- Not documented yet.
IniFile Constructor
public IniFile( string path);
Initializes a new instance of the PeterO.IniFile class.
Parameters:
- path: The parameter path is a text string.
IniFile Constructor
public IniFile( string path, PeterO.IniMergeBehavior behavior);
Initializes a new instance of the PeterO.IniFile class.
Parameters:
path: The parameter path is a text string.
behavior: The parameter behavior is an IniMergeBehavior object.
Exceptions:
- System.ArgumentNullException: The parameter path is null.
IniFile Constructor
public IniFile();
Initializes a new instance of the PeterO.IniFile class.
Count
public int Count { get; }
Gets a value not documented yet.
Returns:
A value not documented yet.
AddSection
public PeterO.IniSection AddSection( string sectionName);
Not documented yet.
Parameters:
- sectionName: The parameter sectionName is a text string.
Return Value:
An IniSection object.
AddSection
public PeterO.IniSection AddSection( string sectionName, PeterO.IniMergeBehavior behavior);
Not documented yet.
Parameters:
sectionName: The parameter sectionName is a text string.
behavior: The parameter behavior is an IniMergeBehavior object.
Return Value:
An IniSection object.
GetSection
public PeterO.IniSection GetSection( string sectionName);
Not documented yet.
Parameters:
- sectionName: The parameter sectionName is a text string.
Return Value:
An IniSection object.
GetValue
public string GetValue( string sectionName, string keyName);
Not documented yet.
Parameters:
sectionName: The parameter sectionName is a text string.
keyName: The parameter keyName is a text string.
Return Value:
A text string.
Exceptions:
- System.ArgumentNullException: The parameter keyName is null.
RemoveSection
public void RemoveSection( string sectionName);
Not documented yet.
Parameters:
- sectionName: The parameter sectionName is a text string.
Save
public void Save( string path);
Not documented yet.
Parameters:
- path: The parameter path is a text string.
Exceptions:
- System.ArgumentNullException: The parameter path is null.
SetValue
public void SetValue( string sectionName, string keyName, string value);
Not documented yet.
Parameters:
sectionName: The parameter sectionName is a text string.
keyName: The parameter keyName is a text string.
value: The parameter value is a text string.
Exceptions:
- System.ArgumentNullException: The parameter keyName or value is null.
ToString
public override string ToString();
Converts this object to a text string.
Return Value:
A text string.
WriteToStream
public void WriteToStream( System.IO.StreamWriter writer);
Not documented yet.
Parameters:
- writer: The parameter writer is a StreamWriter object.
Exceptions:
- System.ArgumentNullException: The parameter writer is null.