Write()

StringWriter::Write(char_t) method

Writes the specified character to the stream.

virtual void System::IO::StringWriter::Write(char_t value) override

Arguments

ParameterTypeDescription
valuechar_tThe value to write

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

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

virtual void System::IO::StringWriter::Write(const ArrayPtr<char_t> &buffer, int32_t index, int32_t count) override

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

StringWriter::Write(const String&) method

Writes the specified string to the stream.

virtual void System::IO::StringWriter::Write(const String &value) override

Arguments

ParameterTypeDescription
valueconst String&The string to write

See Also