System::Console::SetError method

Console::SetError method

Assigns the specified object to the class’ Error property.

static void System::Console::SetError(const SharedPtr<System::IO::TextWriter> &value)
ParameterTypeDescription
valueconst SharedPtr<System::IO::TextWriter>&The TextWrite object to assign to the Error property

See Also