Data.DB.TStringField.GetAsBytes

From RAD Studio API Documentation

Delphi

function GetAsBytes: TArray<Byte>; override;

C++

virtual System::DynamicArray<System::Byte> __fastcall GetAsBytes(void);

Properties

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

Description

Returns the value of the field as TBytes. {{#multireplace:Data.DB.TStringField.GetAsBytes|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TField.GetAsBytes|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TField.GetAsBytes|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Returns the value of the field as TBytes.

Descendants of TField that represent TBytes fields override the GetAsBytes method to return the value of the field as TBytes.

See Also