API:Data.DB.TWideMemoField.SetAsString

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: TWideMemoField

Delphi

procedure SetAsString(const Value: string); override;

C++

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

Description

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

Data.DB.TWideMemoField.SetAsString inherits from Data.DB.TBlobField.SetAsString. All content below this line refers to Data.DB.TBlobField.SetAsString.

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