FireDAC.Comp.DataSet.TFDSQLTimeIntervalField.SetAsString

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 SetAsString(const AValue: String); override;

C++

virtual void __fastcall SetAsString(const System::UnicodeString AValue);

Description

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

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

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

Descendants of TField that represent string fields override the SetAsString method to set the value of the field with the given string Value.

Trying to call the SetAsString method raises an exception.

See Also