System.SysUtils.TGuidHelper.ToString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ToString: string;

Properties

Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TGuidHelper

Description

Converts a TGUID to a string.

Example:

var
  V: TGUID;
  S: String;
begin
  V := TGUID.NewGuid;
  S := V.ToString;
  Writeln(S); // should display the textual representation of the GUID,
              // something like {31D22991-AC26-4D32-BA6C-D6F366C890D0}
end.

See Also