## Path::ToString method


返回指定 Boost 的路径对象的字符串表示形式。

```cpp
static String System::IO::Path::ToString(const boost::filesystem::path &path)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const boost::filesystem::path\& | 要转换为字符串的 boost::filesystem::path 对象 |

### ReturnValue

**path** 的字符串表示

## 另见

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