Parse(Value: String): Guid;
Value. The string value that must be converted to the Guid type.
The Parse method converts a string value to the Guid type without string correctness validation.
This method does not take into account specified regional parameters. The symbol dividing integral and fractional parts of a number is not used in the value passed by the Value parameter.
If conversion fails, an exception is thrown.
Sub SampleGuid;
Var
g: Guid;
Begin
g := Guid.Parse("{10101010-1010-1010-1010-101010101010}");
End Sub SampleGuid;
After executing the example the "g" variable contains the unique global identifier obtained by conversion from the string.
See also: