FireDAC.Comp.DataSet.TFDSQLTimeIntervalField.GetAsVariant
Delphi
function GetAsVariant: Variant; override;
C++
virtual System::Variant __fastcall GetAsVariant(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDSQLTimeIntervalField |
Description
Returns the value of the field as a Variant. {{#multireplace:FireDAC.Comp.DataSet.TFDSQLTimeIntervalField.GetAsVariant|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TField.GetAsVariant|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.GetAsVariant|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Returns the value of the field as a Variant.
Descendants of TField that represent fields that hold any value that can be given as a Variant override the GetAsVariant method to return the value of the field as a Variant.
Trying to call the GetAsVariant method raises an exception.