Data.DB.TField.AsGuid
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
property AsGuid: TGUID read GetAsGuid write SetAsGuid;
C++
__property GUID AsGuid = {read=GetAsGuid, write=SetAsGuid};
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.