Data.DB.TGuidField.GetDefaultWidth
Delphi
function GetDefaultWidth: Integer; override;
C++
virtual int __fastcall GetDefaultWidth();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TGuidField |
Description
Returns the default size of the field's contents.
The GetDefaultWidth method returns the default size of a field's contents. In this case, GetDefaultWidth returns 38, the size of a Globally Unique Identifier (GUID).
The code snippet below holds a GUID example (you can see that its character count is 38):
{53F7E2D4-E42F-40A7-9745-C710FD700256}