## SecurityElement::FromString method


Creates element from XML code.

```cpp
static SecurityElement System::Security::SecurityElement::FromString(const String &xml)
```


| Parameter | Type | Description |
| --- | --- | --- |
| xml | const String\& | XML code. |

### ReturnValue

Newly created element.

## See Also

* Class [SecurityElement](../)
* Class [String](../../../system/string/)
* Class [SecurityElement](../)
* Namespace [System::Security](../../)
* Library [Aspose.PDF for C++](../../../)
