System.SysUtils.TGuidHelper.ToString
Delphi
function ToString: string;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TGUIDHelper |
Description
Convertit un TGUID en une chaîne.
Exemple :
var
V: TGUID;
S: String;
begin
V := TGUID.NewGuid;
S := V.ToString;
Writeln(S); // doit afficher la représentation textuelle du GUID,
// quelque chose comme {31D22991-AC26-4D32-BA6C-D6F366C890D0}
end.