IBX.IBCustomDataSet.TIBCustomDataSet.CreateBlobStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateBlobStream(Field: TField; Mode: TBlobStreamMode): TStream; override;

C++

virtual System::Classes::TStream* __fastcall CreateBlobStream(Data::Db::TField* Field, Data::Db::TBlobStreamMode Mode);

Properties

Type Visibility Source Unit Parent
function public
IBX.IBCustomDataSet.pas
IBX.IBCustomDataSet.hpp
IBX.IBCustomDataSet TIBCustomDataSet

Description

Returns a TIBDSBlobStream object for reading or writing the data in a specified blob field.

Call CreateBlobStream to obtain a stream for reading data from or writing data to a binary large object (BLOB) field. The Field parameter must specify a TBlobField component from the Fields property array. The Mode parameter specifies whether the stream will be used for reading, writing, or updating the contents of the field.

Note: The stream that this method returns belongs to the application, so free the stream after using it.

See Also