RAD Studio VCL Reference
TIBCustomDataSet.CreateBlobStream Method

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

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

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!