## Console::SetError method


指定されたオブジェクトをクラスの Error プロパティに割り当てます。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| value | const SharedPtr\<System::IO::TextWriter\>\& | Error プロパティに割り当てる TextWrite オブジェクト |

## 参照

* Typedef [SharedPtr](../../sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [Console](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
