## Console::SetOut method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | const SharedPtr\<System::IO::TextWriter\>\& | 要分配给 Out 属性的 TextWrite 对象 |

## 另见

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