## Guid::TryParse method


Tries to convert the specified string into [Guid](../) object.

```cpp
static bool System::Guid::TryParse(const String &input, Guid &g)
```


| Parameter | Type | Description |
| --- | --- | --- |
| input | const String\& | The string to convert |
| g | Guid\& | Output [Guid](../) object, if successful. |

### ReturnValue

True, if input string represents valid [Guid](../), otherwise false.

## See Also

* Class [String](../../string/)
* Class [Guid](../)
* Class [Guid](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
