## Directory::CreateDirectory_ method


如果指定路径中的目录不存在，则创建所有目录。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 包含要创建的目录的路径 |

## 另见

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