SetOut()

Console::SetOut(const SharedPtr<System::IO::TextWriter>&) method

Assigns the specified object to the class’ Out property.

static void System::Console::SetOut(const SharedPtr<System::IO::TextWriter> &value)

Arguments

ParameterTypeDescription
valueconst SharedPtr<System::IO::TextWriter>&The TextWrite object to assign to the Out property

See Also