IBX.IBCustomDataSet.TIBCustomDataSet.CreateBlobStream
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 dataset. Do not free the stream: the dataset handles all allocation and freeing of streams that this method creates.