## SecurityElement::FromString method


从 XML 代码创建元素。

```cpp
static SecurityElement System::Security::SecurityElement::FromString(const String &xml)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| xml | const String\& | XML 代码。 |

### ReturnValue

新创建的元素。

## 另见

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