API:Data.DB.TStringField.GetAsSQLTimeStamp

From RAD Studio API Documentation

Delphi

function GetAsSQLTimeStamp: TSQLTimeStamp; override;

C++

virtual Data::Sqltimst::TSQLTimeStamp __fastcall GetAsSQLTimeStamp(void);

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TStringField

Description

Returns the value of the field as a TSQLTimeStamp. {{#multireplace:Data.DB.TStringField.GetAsSQLTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TField.GetAsSQLTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TField.GetAsSQLTimeStamp|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also