Data.Win.ADODB.TCustomADODataSet.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 | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TCustomADODataSet |
Description
Creates a blob stream for a Binary large object (BLOB) field in the dataset.
Call CreateBlobStream to obtain a stream for reading and writing the value of the field specified by the Field parameter.
Field is a string containing the name of the BLOB (or comparable type) field in the dataset.
Mode indicates whether the stream will be used for reading the field's value (bmRead), writing the field's value (bmWrite), or both (bmReadWrite).