WriteLine()

Console::WriteLine() method

Outputs the current line terminator to the standard output stream.

static void System::Console::WriteLine()

Console::WriteLine(const SharedPtr<T>&) method

Outputs the string representation of the specified object followed by the current line terminator to the standard output stream.

template<class T> static void System::Console::WriteLine(const SharedPtr<T> &object)

Template parameters

ParameterDescription
TType of the object to output

Arguments

ParameterTypeDescription
objectconst SharedPtr<T>&Object to output

Console::WriteLine(bool) method

Outputs the string representation of bool value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(bool value)

Arguments

ParameterTypeDescription
valueboolThe value to output

Console::WriteLine(char_t) method

Outputs the specified character value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(char_t value)

Arguments

ParameterTypeDescription
valuechar_tThe value to output

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

Outputs the string representation of the specified character array followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const ArrayPtr<char_t> &buffer)

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The array to output

Console::WriteLine(const Decimal&) method

Outputs the string representation of Decimal value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const Decimal &value)

Arguments

ParameterTypeDescription
valueconst Decimal&The value to output

Console::WriteLine(double) method

Outputs the string representation of double-precision floating-point value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(double value)

Arguments

ParameterTypeDescription
valuedoubleThe value to output

Console::WriteLine(float) method

Outputs the string representation of single-precision floating-point value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(float value)

Arguments

ParameterTypeDescription
valuefloatThe value to output

Console::WriteLine(int32_t) method

Outputs the string representation of 32-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(int32_t value)

Arguments

ParameterTypeDescription
valueint32_tThe value to output

Console::WriteLine(int64_t) method

Outputs the string representation of 64-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(int64_t value)

Arguments

ParameterTypeDescription
valueint64_tThe value to output

Console::WriteLine(const String&) method

Outputs the specified string object followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const String &value)

Arguments

ParameterTypeDescription
valueconst String&The string object to output

Console::WriteLine(const char_t *) method

Outputs the specified c-string followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const char_t *value)

Arguments

ParameterTypeDescription
valueconst char_t *The c-string to output

Console::WriteLine(const TypeInfo&) method

Outputs the string representation of TypeInfo value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const TypeInfo &value)

Arguments

ParameterTypeDescription
valueconst TypeInfo&The value to output

Console::WriteLine(uint32_t) method

Outputs the string representation of unsigned 32-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(uint32_t value)

Arguments

ParameterTypeDescription
valueuint32_tThe value to output

Console::WriteLine(uint64_t) method

Outputs the string representation of unsigned 64-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(uint64_t value)

Arguments

ParameterTypeDescription
valueuint64_tThe value to output

Console::WriteLine(const ArrayPtr<char_t>&, int, int) method

Outputs the string representation of the specified range of the specified character array followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const ArrayPtr<char_t> &buffer, int index, int count)

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The character array
indexintThe index in the array at which the range to output begins
countintThe number of elements in the range to output

Console::WriteLine(const Exception&) method

Outputs the string representation of the specified Exception object followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const Exception &e)

Arguments

ParameterTypeDescription
econst Exception&The value to output

Console::WriteLine(const String&, Args&&…) method

Outputs the string representation of the specified arguments formatted according to the specified format followed by the current line terminator to the standard output stream.

template<class...> static void System::Console::WriteLine(const String &format, Args &&... args)

Template parameters

ParameterDescription
Thetypes of the values to output

Arguments

ParameterTypeDescription
formatconst String&The string format
argsArgs&&…The values to output

Console::WriteLine(const char *) method

static void System::Console::WriteLine(const char *)=delete

See Also