Data.DB.TParam.SetBlobData
Delphi
procedure SetBlobData(Buffer: TValueBuffer; Size: Integer); overload;
procedure SetBlobData(Buffer: Pointer; Size: Integer); overload; deprecated 'Use overloaded method instead';
C++
void __fastcall SetBlobData(System::DynamicArray<System::Byte> Buffer, int Size)/* overload */;
void __fastcall SetBlobData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer, int Size)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Copies a new value for the parameter in physical database format from Buffer.
Use SetBlobData to set the value of a parameter from a buffer that contains data from a Binary Large Object (BLOB) field. SetBlobData copies the number of bytes specified by the Size parameter from the buffer specified by the Buffer parameter, and sets the DataType property to ftBlob.