## SecurityElement::Escape method


转义 XML 字符串中的字符。

```cpp
static String System::Security::SecurityElement::Escape(const String &str)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| str | const String\& | [String](../../../system/string/) 用于转义。 |

### ReturnValue

已转义的字符串。

## 另见

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