IGuidGenerator.Generate

Syntax

Generate: String;

Description

The Generate method generates global unique identifier as a string.

Example

Sub UserProc;
Var
    s: String;
    g: Guid;
Begin
    s := GuidGenerator.Generate;
    g := GuidGenerator.GenerateGUID;
    Debug.WriteLine(s);
    Debug.WriteLine(g);
End Sub UserProc;

After executing the example, the "s" and "g" variables will contain GUIDs generated using various methods. The obtained GUID values will be displayed in the development environment console.

See also:

IGuidGenerator