System::Guid::TryParse method

Guid::TryParse method

Tries to convert the specified string into Guid object.

static bool System::Guid::TryParse(const String &input, Guid &g)
ParameterTypeDescription
inputconst String&The string to convert
gGuid&Output Guid object, if successful.

ReturnValue

True, if input string represents valid Guid, otherwise false.

See Also