API:Data.DB.TBCDField.GetAsString
Delphi
function GetAsString: string; override;
C++
virtual System::UnicodeString __fastcall GetAsString();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TBCDField |
Description
Returns the value of the field as a string.
Data.DB.TBCDField.GetAsString inherits from Data.DB.TField.GetAsString. All content below this line refers to Data.DB.TField.GetAsString.
Returns the value of the field as a string.
Descendants of TField that represent string fields override the GetAsString method to return the value of the field as a string.
Trying to call the GetAsString method raises an exception.