Skip to content

TBlobField.LoadFromStream

Load the field's contents from stream.

Declaration

Source position: db.pas line 1104

public 
procedure TBlobField.LoadFromStream(Stream: TStream);

Description

LoadFromStream can be used to load the contents of the field from a TStream descendent. The entire data of the stream will be copied, and the stream will be positioned on the first byte of data, so it must be seekable.

Errors

If the stream is not seekable, an exception will be raised.

See also

Name Description
SaveToStream Save the field's contents to stream.
LoadFromFile Load the contents of the field from a file.