TryParse()

Guid::TryParse(const String&, Guid&) method

Tries to convert the specified string into Guid object.

static bool System::Guid::TryParse(const String &input, Guid &g)

Arguments

ParameterTypeDescription
inputconst String&The string to convert
gGuid&Output Guid object, if successful.

Return Value

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

See Also