Data.DB.TBlobField.SetAsString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAsString(const Value: string); override;

C++

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

Properties

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

Description

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

SetAsString sets the value of the BLOB field with the given Unicode string. The input Unicode string is first converted to an ANSI string and then assigned to the BLOB value (for backward compatibility). For BLOBs associated with Unicode strings, the TWideMemoField class should be used.

See Also