Constructors
-
Indented
Text Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string.Writer(Text Writer) -
Indented
Text Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string.Writer(Text Writer, String)
Methods
- Close() Closes the document being written to.
- Flush() Flushes the stream.
-
Output
Tabs() Outputs the tab string once for each level of indentation according to the Indent property. - Write(Boolean) Writes the text representation of a Boolean value to the text stream.
- Write(Char) Writes a character to the text stream.
- Write(Char[]) Writes a character array to the text stream.
-
Write(Char[],
Int32, Writes a subarray of characters to the text stream.Int32) - Write(Double) Writes the text representation of a Double to the text stream.
- Write(Int32) Writes the text representation of an integer to the text stream.
- Write(Int64) Writes the text representation of an 8-byte integer to the text stream.
- Write(Object) Writes the text representation of an object to the text stream.
- Write(Single) Writes the text representation of a Single to the text stream.
- Write(String) Writes the specified string to the text stream.
-
Write(String,
Object) Writes out a formatted string, using the same semantics as specified. -
Write(String,
Object, Writes out a formatted string, using the same semantics as specified.Object) -
Write(String,
Object[]) Writes out a formatted string, using the same semantics as specified. -
Write
Line() Writes a line terminator. -
Write
Line(Boolean) Writes the text representation of a Boolean, followed by a line terminator, to the text stream. -
Write
Line(Char) Writes a character, followed by a line terminator, to the text stream. -
Write
Line(Char[]) Writes a character array, followed by a line terminator, to the text stream. -
Write
Line(Char[], Writes a subarray of characters, followed by a line terminator, to the text stream.Int32, Int32) -
Write
Line(Double) Writes the text representation of a Double, followed by a line terminator, to the text stream. -
Write
Line(Int32) Writes the text representation of an integer, followed by a line terminator, to the text stream. -
Write
Line(Int64) Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. -
Write
Line(Object) Writes the text representation of an object, followed by a line terminator, to the text stream. -
Write
Line(Single) Writes the text representation of a Single, followed by a line terminator, to the text stream. -
Write
Line(String) Writes the specified string, followed by a line terminator, to the text stream. -
Write
Line(String, Writes out a formatted string, followed by a line terminator, using the same semantics as specified.Object) -
Write
Line(String, Writes out a formatted string, followed by a line terminator, using the same semantics as specified.Object, Object) -
Write
Line(String, Writes out a formatted string, followed by a line terminator, using the same semantics as specified.Object[]) -
Write
Line(UInt32) Writes the text representation of a UInt32, followed by a line terminator, to the text stream. -
Write
Line Writes the specified string to a line without tabs.No Tabs(String)
Fields
-
Default
Tab Specifies the default tab string. This field is constant.String
Properties
- Encoding Gets the encoding for the text writer to use.
- Indent Gets or sets the number of spaces to indent.
-
Inner
Writer Gets the TextWriter to use. -
New
Line Gets or sets the new line character to use.