Data.DB.TField.GetAsAnsiString
Delphi
function GetAsAnsiString: AnsiString; virtual;
C++
virtual System::AnsiString __fastcall GetAsAnsiString();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Returns the value of the field as an AnsiString.
Descendants of TField that represent AnsiString fields override the GetAsAnsiString method to return the value of the field as an AnsiString.
Trying to call the GetAsString method raises an exception.