## MemoryStream::set_Capacity method


设置底层内存缓冲区的容量。

```cpp
void System::IO::MemoryStream::set_Capacity(int value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | int | 要设置的新容量（字节） |

## 另见

* Class [MemoryStream](../)
* Namespace [System::IO](../../)
* Library [Aspose.Font for C++](../../../)
