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