WriteLine()

TextWriter::WriteLine() method

Writes line terminator characters to the stream.

virtual void System::IO::TextWriter::WriteLine()

TextWriter::WriteLine(const SharedPtr<Object>&) method

Writes the string representation of the specified object followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const SharedPtr<Object> &value)

Arguments

ParameterTypeDescription
valueconst SharedPtr<Object>&The object to write

TextWriter::WriteLine(bool) method

Writes the string representation of the specified boolean value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(bool value)

Arguments

ParameterTypeDescription
valueboolThe value to write

TextWriter::WriteLine(char_t) method

Writes the specified character followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(char_t value)

Arguments

ParameterTypeDescription
valuechar_tThe value to write

TextWriter::WriteLine(Decimal) method

Writes the string representation of the specified Decimal object followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(Decimal value)

Arguments

ParameterTypeDescription
valueDecimalThe object to write

TextWriter::WriteLine(double) method

Writes the string representation of the specified double-precision floating point value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(double value)

Arguments

ParameterTypeDescription
valuedoubleThe value to write

TextWriter::WriteLine(int) method

Writes the string representation of the specified 32-bit integer value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(int value)

Arguments

ParameterTypeDescription
valueintThe value to write

TextWriter::WriteLine(int64_t) method

Writes the string representation of the specified 64-bit integer value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(int64_t value)

Arguments

ParameterTypeDescription
valueint64_tThe value to write

TextWriter::WriteLine(float) method

Writes the string representation of the specified single-precision floating point value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(float value)

Arguments

ParameterTypeDescription
valuefloatThe value to write

TextWriter::WriteLine(const String&) method

Writes the specified string followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const String &value)

Arguments

ParameterTypeDescription
valueconst String&The string to write

TextWriter::WriteLine(uint32_t) method

Writes the string representation of the specified unsigned 32-bit integer value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(uint32_t value)

Arguments

ParameterTypeDescription
valueuint32_tThe value to write

TextWriter::WriteLine(uint64_t) method

Writes the string representation of the specified unsigned 64-bit integer value followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(uint64_t value)

Arguments

ParameterTypeDescription
valueuint64_tThe value to write

TextWriter::WriteLine(const ArrayPtr<char_t>&) method

Writes all characetrs from the specified array followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const ArrayPtr<char_t> &buffer)

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The array containing the characters to write

TextWriter::WriteLine(const ArrayPtr<char_t>&, int32_t, int32_t) method

Writes the specified subrange of UTF-16 characters from the specified character array followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const ArrayPtr<char_t> &buffer, int32_t index, int32_t count)

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The array containing the characters to write
indexint32_tA 0-based index of the elemnet in buffer at which the subrange to write begins
countint32_tThe number of characters in the subrange to write; -1 specifies that the subrange ends where buffer array ends

TextWriter::WriteLine(const char_t *) method

Writes the specified c-string followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const char_t *value)

Arguments

ParameterTypeDescription
valueconst char_t *The c-string to write

TextWriter::WriteLine(const TypeInfo&) method

Writes the string representation of the specified TypeInfo object followed by the line-terminating characters to the stream.

virtual void System::IO::TextWriter::WriteLine(const TypeInfo &value)

Arguments

ParameterTypeDescription
valueconst TypeInfo&The object to write

TextWriter::WriteLine(const String&, const TArgs&…) method

Writes the specified values formatted according to the specified format followed by the line-terminating characetrs to the stream.

template<class...> void System::IO::TextWriter::WriteLine(const String &format, const TArgs &... args)

Template parameters

ParameterDescription
TArgsThe list of types of values to write

Arguments

ParameterTypeDescription
formatconst String&The string format
argsconst TArgs&…The values to write

See Also