RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGuidField.AsGuid Property

Represents the value of the field as a Globally Unique Identifier (GUID).

Pascal
property AsGuid: TGUID;
C++
__property TGUID AsGuid;

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. 

AsGuid uses the StringToGUID and GUIDToString functions internally to converts between the internal representation of the GUID as a string and a TGUID type. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!