Data.DB.TParam.SetBlobData

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TParam

Delphi

procedure SetBlobData(Buffer: TValueBuffer; Size: Integer); overload;
procedure SetBlobData(Buffer: Pointer; Size: Integer); overload; deprecated 'Use overloaded method instead';

C++

void __fastcall SetBlobData(TValueBuffer Buffer, int Size)/* overload */;
void __fastcall SetBlobData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (void * Buffer, int Size)/* overload */;

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.

See Also