## Directory::SetCurrentDirectory method


设置当前目录。

```cpp
static void System::IO::Directory::SetCurrentDirectory(const String &path)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 用于设为当前的目录路径 |

## 另见

* Class [String](../../../system/string/)
* Class [Directory](../)
* Namespace [System::IO](../../)
* Library [Aspose.Font for C++](../../../)
