System::IO::StreamWriter::Write method

StreamWriter::Write(char_t) method

Writes the specified character to the stream.

void System::IO::StreamWriter::Write(char_t value) override
ParameterTypeDescription
valuechar_tThe character to write

See Also

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

Writes all characetrs from the specified array to the stream.

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

See Also

StreamWriter::Write(const ArrayPtr<char_t>&, int32_t, int32_t) method

Writes the specified subrange of UTF-16 characters from the specified character array to the stream.

void System::IO::StreamWriter::Write(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::Write(const char_t *) method

Writes the specified c-string to the stream.

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

See Also

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

Writes the string representation of the specified object to the stream.

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

See Also

StreamWriter::Write(const String&) method

Writes the specified string to the stream.

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

See Also

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

Writes the string representation of the specified object to the stream.

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

See Also