## DirectoryInfo::MoveTo method


将当前对象表示的目录及其所有内容移动到指定位置。

```cpp
void System::IO::DirectoryInfo::MoveTo(const String &destDirName)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| destDirName | const String\& | 新位置 |

## 另见

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