Data.DB.TVarBytesField.SetAsBytes

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

Delphi

procedure SetAsBytes(const Value: TArray<Byte>); override;

C++

virtual void __fastcall SetAsBytes(const System::DynamicArray<System::Byte> Value);

Description

Sets the value of the field with the given unformatted data passed in as TBytes.

Data.DB.TVarBytesField.SetAsBytes inherits from Data.DB.TField.SetAsBytes. All content below this line refers to Data.DB.TField.SetAsBytes.

Sets the value of the field with the given unformatted data passed in as TBytes.

Descendants of TField that represent TBytes fields override the SetAsBytes method to set the value of the field with the given unformatted data passed in as a TBytes Value.

See Also