FireDAC.Comp.DataSet.TFDSQLTimeIntervalField.SetVarValue

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDSQLTimeIntervalField

Delphi

procedure SetVarValue(const AValue: Variant); override;

C++

virtual void __fastcall SetVarValue(const System::Variant &AValue);

Description

Sets the value of the field with the given Variant value.

FireDAC.Comp.DataSet.TFDSQLTimeIntervalField.SetVarValue inherits from Data.DB.TField.SetVarValue. All content below this line refers to Data.DB.TField.SetVarValue.

Sets the value of the field with the given Variant value.

Descendants of TField that represent fields that can hold any value specified through a Variant override the SetVarValue method to set the value of the field with the given Variant Value.

Trying to call the SetVarValue method raises an exception.

See Also