## XmlConvert::ToGuid method


Converts the [String](../../../system/string/) to a [Guid](../../../system/guid/) equivalent.

```cpp
static Guid System::Xml::XmlConvert::ToGuid(const String &s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | const String\& | The string to convert. |

### ReturnValue

A [Guid](../../../system/guid/) equivalent of the string.

## See Also

* Class [Guid](../../../system/guid/)
* Class [String](../../../system/string/)
* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
