Méthode | Description | |
---|---|---|
Close ( ) : void |
Closes the current writer and releases any system resources associated with the writer.
|
|
Flush ( ) : void |
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
|
|
Write ( bool value ) : void |
Writes the text representation of a Boolean value to the text string or stream.
|
|
Write ( char value ) : void |
Writes a character to the text string or stream.
|
|
Write ( char buffer, int index, int count ) : void |
Writes a subarray of characters to the text string or stream.
|
|
Write ( decimal value ) : void |
Writes the text representation of a decimal value to the text string or stream.
|
|
Write ( double value ) : void |
Writes the text representation of an 8-byte floating-point value to the text string or stream.
|
|
Write ( float value ) : void |
Writes the text representation of a 4-byte floating-point value to the text string or stream.
|
|
Write ( int value ) : void |
Writes the text representation of a 4-byte signed integer to the text string or stream.
|
|
Write ( long value ) : void |
Writes the specified value.
|
|
Write ( object value ) : void |
Writes the text representation of an object to the text string or stream by calling the ToString method on that object.
|
|
Write ( string value ) : void |
Writes a string to the text string or stream.
|
|
Write ( string format, object arg0 ) : void |
Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.
|
|
Write ( string format, object arg0, object arg1 ) : void |
Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.
|
|
Write ( string format, object arg0, object arg1, object arg2 ) : void |
Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object,System.Object) method.
|
|
Write ( uint value ) : void |
Writes the specified value.
|
|
Write ( ulong value ) : void |
Writes the text representation of an 8-byte unsigned integer to the text string or stream.
|
|
WriteLine ( ) : void |
Writes a line terminator to the text string or stream.
|
|
WriteLine ( bool value ) : void |
Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.
|
|
WriteLine ( char value ) : void |
Writes a character followed by a line terminator to the text string or stream.
|
|
WriteLine ( char buffer, int index, int count ) : void |
Writes a subarray of characters followed by a line terminator to the text string or stream.
|
|
WriteLine ( decimal value ) : void |
Writes the text representation of a decimal value followed by a line terminator to the text string or stream.
|
|
WriteLine ( double value ) : void |
Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.
|
|
WriteLine ( float value ) : void |
Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.
|
|
WriteLine ( int value ) : void |
Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.
|
|
WriteLine ( long value ) : void |
Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.
|
|
WriteLine ( object value ) : void |
Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.
|
|
WriteLine ( string value ) : void |
Writes a string followed by a line terminator to the text string or stream.
|
|
WriteLine ( string format, object arg0 ) : void |
Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.
|
|
WriteLine ( string format, object arg0, object arg1 ) : void |
Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.
|
|
WriteLine ( string format, object arg0, object arg1, object arg2 ) : void |
Writes out a formatted string and a new line, using the same semantics as M:System.String.Format(System.String,System.Object).
|
|
WriteLine ( uint value ) : void |
Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.
|
|
WriteLine ( ulong value ) : void |
Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the T:System.IO.TextWriter and optionally releases the managed resources.
|
Méthode | Description | |
---|---|---|
FlushAsync ( ) : Task | ||
SerialTextWriter ( [ writer ) : System |
Initializes a new instance of the SerialTextWriter class.
|
|
WriteAsync ( char value ) : Task | ||
WriteAsync ( char buffer, int index, int count ) : Task | ||
WriteAsync ( string value ) : Task | ||
WriteLineAsync ( char value ) : Task | ||
WriteLineAsync ( char buffer, int index, int count ) : Task | ||
WriteLineAsync ( string value ) : Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Résultat | void |
public Write ( bool value ) : void | ||
value | bool | The Boolean value to write. |
Résultat | void |
public Write ( char value ) : void | ||
value | char | The character to write to the text stream. |
Résultat | void |
public Write ( char buffer, int index, int count ) : void | ||
buffer | char | The character array to write data from. |
index | int | The character position in the buffer at which to start retrieving data. |
count | int | The number of characters to write. |
Résultat | void |
public Write ( decimal value ) : void | ||
value | decimal | The decimal value to write. |
Résultat | void |
public Write ( double value ) : void | ||
value | double | The 8-byte floating-point value to write. |
Résultat | void |
public Write ( float value ) : void | ||
value | float | The 4-byte floating-point value to write. |
Résultat | void |
public Write ( int value ) : void | ||
value | int | The 4-byte signed integer to write. |
Résultat | void |
public Write ( object value ) : void | ||
value | object | The object to write. |
Résultat | void |
public Write ( string value ) : void | ||
value | string | The string to write. |
Résultat | void |
public Write ( string format, object arg0 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The object to format and write. |
Résultat | void |
public Write ( string format, object arg0, object arg1 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The first object to format and write. |
arg1 | object | The second object to format and write. |
Résultat | void |
public Write ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The first object to format and write. |
arg1 | object | The second object to format and write. |
arg2 | object | The third object to format and write. |
Résultat | void |
public Write ( ulong value ) : void | ||
value | ulong | The 8-byte unsigned integer to write. |
Résultat | void |
public WriteLine ( bool value ) : void | ||
value | bool | The Boolean value to write. |
Résultat | void |
public WriteLine ( char value ) : void | ||
value | char | The character to write to the text stream. |
Résultat | void |
public WriteLine ( char buffer, int index, int count ) : void | ||
buffer | char | The character array from which data is read. |
index | int | The character position in |
count | int | The maximum number of characters to write. |
Résultat | void |
public WriteLine ( decimal value ) : void | ||
value | decimal | The decimal value to write. |
Résultat | void |
public WriteLine ( double value ) : void | ||
value | double | The 8-byte floating-point value to write. |
Résultat | void |
public WriteLine ( float value ) : void | ||
value | float | The 4-byte floating-point value to write. |
Résultat | void |
public WriteLine ( int value ) : void | ||
value | int | The 4-byte signed integer to write. |
Résultat | void |
public WriteLine ( long value ) : void | ||
value | long | The 8-byte signed integer to write. |
Résultat | void |
public WriteLine ( object value ) : void | ||
value | object | The object to write. If |
Résultat | void |
public WriteLine ( string value ) : void | ||
value | string | The string to write. If |
Résultat | void |
public WriteLine ( string format, object arg0 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The object to format and write. |
Résultat | void |
public WriteLine ( string format, object arg0, object arg1 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The first object to format and write. |
arg1 | object | The second object to format and write. |
Résultat | void |
public WriteLine ( string format, object arg0, object arg1, object arg2 ) : void | ||
format | string | A composite format string (see Remarks). |
arg0 | object | The first object to format and write. |
arg1 | object | The second object to format and write. |
arg2 | object | The third object to format and write. |
Résultat | void |
public WriteLine ( uint value ) : void | ||
value | uint | The 4-byte unsigned integer to write. |
Résultat | void |
public WriteLine ( ulong value ) : void | ||
value | ulong | The 8-byte unsigned integer to write. |
Résultat | void |