## Path::ToString method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 路径 | const boost::filesystem::path\& | 要转换为字符串的 boost::filesystem::path 对象 |

### ReturnValue

**path** 的字符串表示

## 另见

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