## Path::ToBoost method


Returns an instance of boost::filesystem::path class that represents the specified path.

```cpp
static boost::filesystem::path System::IO::Path::ToBoost(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | A path |

### ReturnValue

a new instance of boost::filesystem::path class that represents **path**

## See Also

* Class [String](../../../system/string/)
* Class [Path](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
