## Uri::EscapeDataString method


Converts a string to its escaped representation.

```cpp
static String System::Uri::EscapeDataString(const String &stringToEscape)
```


| Parameter | Type | Description |
| --- | --- | --- |
| stringToEscape | const String\& | The string to escape |

### ReturnValue

A new string containing the escaped representation of **stringToEscape**

## See Also

* Class [String](../../string/)
* Class [Uri](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
