Data.DB.TField.SetAsAnsiString

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

procedure SetAsAnsiString(const Value: AnsiString); virtual;

C++

virtual void __fastcall SetAsAnsiString(const System::AnsiString Value);

Description

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

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

Trying to call the SetAsAnsiString method raises an exception.

See Also