System::IO::StreamWriter::WriteLine method

StreamWriter::WriteLine() method

Writes line terminator characters to the stream.

void System::IO::StreamWriter::WriteLine() override

See Also

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

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

void System::IO::StreamWriter::WriteLine(const ArrayPtr<char_t> &buffer) override
ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The array containing the characters to write

See Also

StreamWriter::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.

void System::IO::StreamWriter::WriteLine(const ArrayPtr<char_t> &buffer, int32_t index, int32_t count) override
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

See Also

StreamWriter::WriteLine(const char_t *) method

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

void System::IO::StreamWriter::WriteLine(const char_t *buffer) override
ParameterTypeDescription
bufferconst char_t *The c-string to write

See Also

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

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

void System::IO::StreamWriter::WriteLine(const SharedPtr<Object> &obj) override
ParameterTypeDescription
objconst SharedPtr<Object>&The object to write

See Also

StreamWriter::WriteLine(const String&) method

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

void System::IO::StreamWriter::WriteLine(const String &value) override
ParameterTypeDescription
valueconst String&The string to write

See Also

StreamWriter::WriteLine(const System::SharedPtr<T>&) method

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

template<typename T> void System::IO::StreamWriter::WriteLine(const System::SharedPtr<T> &obj)
ParameterDescription
TThe type of the object
ParameterTypeDescription
objconst System::SharedPtr<T>&The object to write

See Also