Class IniWriter
public class IniWriter : IDisposable
- Inheritance
-
IniWriter
- Implements
- Inherited Members
Constructors
IniWriter(Stream, bool, IniOptions?)
public IniWriter(Stream stream, bool keepOpen = false, IniOptions? options = null)
Parameters
stream
StreamkeepOpen
booloptions
IniOptions
IniWriter(TextWriter, bool, IniOptions?)
public IniWriter(TextWriter writer, bool keepOpen = false, IniOptions? options = null)
Parameters
writer
TextWriterkeepOpen
booloptions
IniOptions
Properties
Options
public IniOptions Options { get; }
Property Value
Writer
public TextWriter Writer { get; }
Property Value
Methods
Advance(int)
public void Advance(int count = 1)
Parameters
count
int
AdvanceLine(int)
public void AdvanceLine(int count = 1)
Parameters
count
int
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
WriteComment(string, bool)
public void WriteComment(string comment, bool multiline = true)
Parameters
WriteKeyValue(string, bool, bool)
public void WriteKeyValue(string key, bool value, bool noCheck = false)
Parameters
WriteKeyValue(string, double, bool)
public void WriteKeyValue(string key, double value, bool noCheck = false)
Parameters
WriteKeyValue(string, long, bool)
public void WriteKeyValue(string key, long value, bool noCheck = false)
Parameters
WriteKeyValue(string, string, bool, IniStringKind)
public void WriteKeyValue(string key, string value, bool noCheck = false, IniStringKind kind = IniStringKind.Any)
Parameters
key
stringvalue
stringnoCheck
boolkind
IniStringKind
WriteSection(string, bool)
public void WriteSection(string label, bool noCheck = false)