Write()

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

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

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

Arguments

ParameterTypeDescription
valueconst SharedPtr<Object>&The object to write

TextWriter::Write(bool) method

Writes the string representation of the specified boolean value to the stream.

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

Arguments

ParameterTypeDescription
valueboolThe value to write

TextWriter::Write(char_t) method

Writes the specified character to the stream.

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

Arguments

ParameterTypeDescription
valuechar_tThe value to write

TextWriter::Write(Decimal) method

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

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

Arguments

ParameterTypeDescription
valueDecimalThe object to write

TextWriter::Write(double) method

Writes the string representation of the specified double-precision floating point value to the stream.

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

Arguments

ParameterTypeDescription
valuedoubleThe value to write

TextWriter::Write(int) method

Writes the string representation of the specified 32-bit integer value to the stream.

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

Arguments

ParameterTypeDescription
valueintThe value to write

TextWriter::Write(int64_t) method

Writes the string representation of the specified 64-bit integer value to the stream.

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

Arguments

ParameterTypeDescription
valueint64_tThe value to write

TextWriter::Write(float) method

Writes the string representation of the specified single-precision floating point value to the stream.

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

Arguments

ParameterTypeDescription
valuefloatThe value to write

TextWriter::Write(const String&) method

Writes the specified string to the stream.

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

Arguments

ParameterTypeDescription
valueconst String&The string to write

TextWriter::Write(uint32_t) method

Writes the string representation of the specified unsigned 32-bit integer value to the stream.

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

Arguments

ParameterTypeDescription
valueuint32_tThe value to write

TextWriter::Write(uint64_t) method

Writes the string representation of the specified unsigned 64-bit integer value to the stream.

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

Arguments

ParameterTypeDescription
valueuint64_tThe value to write

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

Writes all characetrs from the specified array to the stream.

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

Arguments

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

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

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

Writes the specified c-string to the stream.

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

Arguments

ParameterTypeDescription
valueconst char_t *The c-string to write

TextWriter::Write(const TypeInfo&) method

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

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

Arguments

ParameterTypeDescription
valueconst TypeInfo&The object to write

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

Writes the specified values formatted according to the specified format to the stream.

template<class...> void System::IO::TextWriter::Write(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