TDataSet.CreateBlobStream¶
Create blob stream.
Declaration¶
Source position: db.pas line 2056
public
function TDataSet.CreateBlobStream(Field: TField; Mode: TBlobStreamMode)
: TStream; virtual;
Description¶
CreateBlobStream is not intended for use by application programmers. It creates a stream object which can be used to read or write data from a blob field. Instead, application programmers should use the TBlobField.LoadFromStream and TBlobField.SaveToStream methods when reading and writing data from/to BLOB fields. Which operation must be performed on the stream is indicated in the Mode parameter, and the Field parameter contains the field whose data should be read. The caller is responsible for freeing the stream created by this function.
See also¶
| Name | Description |
|---|---|
| TBlobField.LoadFromStream | Load the field's contents from stream. |
| TBlobField.SaveToStream | Save the field's contents to stream. |