## Console::SetOut method


将指定的对象分配给类的 Out 属性。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | const SharedPtr\<System::IO::TextWriter\>\& | 要分配给 Out 属性的 TextWrite 对象 |

## 另见

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