Data.DB.TField.AsGuid
Delphi
property AsGuid: TGUID read GetAsGuid write SetAsGuid;
C++
__property GUID AsGuid = {read=GetAsGuid, write=SetAsGuid};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Represents the value of the field as a Globally Unique Identifier (GUID).
Use AsGuid to
Assign the GUID field value to a TGUID variable (Delphi) or GUID variable (C++).
Assign a TGUID value (Delphi) or GUID value (C++) as the value of the field.
AsGuiduses the StringToGUID and GUIDToString functions internally to converts between the internal representation of the GUID as a string and a TGUID type.