RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.CreateBlobStream Method

Creates a blob stream for a Binary large object (BLOB) field in the dataset.

Pascal
function CreateBlobStream(Field: TField; Mode: TBlobStreamMode): TStream; override;
C++
virtual __fastcall TStream CreateBlobStream(TField Field, TBlobStreamMode Mode);

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). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!