System.SysUtils.TGuidHelper.Create
Delphi
class function Create(const Data; DataEndian: TEndian = TEndian.Little): TGUID; overload; static; inline;
class function Create(const B: TBytes; DataEndian: TEndian = TEndian.Little): TGUID; overload; static; inline;
class function Create(const B: TBytes; AStartIndex: Cardinal; DataEndian: TEndian = TEndian.Little): TGUID; overload; static;
class function Create(const S: string): TGUID; overload; static;
class function Create(A: Integer; B: SmallInt; C: SmallInt; const D: TBytes): TGUID; overload; static;
class function Create(A: Integer; B: SmallInt; C: SmallInt; D, E, F, G, H, I, J, K: Byte): TGUID; overload; static;
class function Create(A: Cardinal; B: Word; C: Word; D, E, F, G, H, I, J, K: Byte): TGUID; overload; static;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TGuidHelper |
Beschreibung
Erstellt und initialisiert eine TGUID.
Um eine GUID zu erstellen, ohne die Felder anzugeben, können Sie NewGuid verwenden.