## File::Delete method


删除指定的文件或目录。

```cpp
static void System::IO::File::Delete(const String &path)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 要删除的文件或目录的路径 |

## 另见

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