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;
C++
static TGUID __fastcall Create(const System::Sysutils::TBytes B, System::Types::TEndian DataEndian);
static TGUID __fastcall Create(const System::Sysutils::TBytes B, unsigned AStartIndex, System::Types::TEndian DataEndian);
static TGUID __fastcall Create(const System::UnicodeString S);
static TGUID __fastcall Create(int A, short B, short C, const System::Sysutils::TBytes D);
static TGUID __fastcall Create(int A, short B, short C, System::Byte D, System::Byte E, System::Byte F, System::Byte G, System::Byte H, System::Byte I, System::Byte J, System::Byte K);
static TGUID __fastcall Create(const void *Data, System::Types::TEndian DataEndian);
static TGUID __fastcall Create(unsigned A, System::Word B, System::Word C, System::Byte D, System::Byte E, System::Byte F, System::Byte G, System::Byte H, System::Byte I, System::Byte J, System::Byte K);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TGUIDHelper |
Description
Creates and initializes a TGUID.
To create a GUID without specifying the fields, you can use NewGuid.