## Path::GetFileName method


返回由指定路径引用的文件名称。

```cpp
static String System::IO::Path::GetFileName(const String &path)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 文件路径 |

### ReturnValue

文件名

## 另见

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