SetError()

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

Assigns the specified object to the class’ Error property.

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

Arguments

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

See Also