API:Data.DB.TExtendedField.GetAsString
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TExtendedField |
Delphi
function GetAsString: string; override;
C++
virtual System::UnicodeString __fastcall GetAsString();
Description
Returns the value of the field as a string.
Data.DB.TExtendedField.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.