[Overview][Constants][Classes][Procedures and functions][Index] Reference for unit 'Pipes' (#fcl)

TOutputPipeStream.Seek

Sets the position in the stream

Declaration

Source position: pipes.pp line 44

public function TOutputPipeStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Offset, in bytes, starting at Origin

Origin

  

Where to start counting Offset bytes.

Function result

New position of the stream.

Description

Seek is overridden in TOutputPipeStream. Calling this method will always raise an exception: an output pipe is not seekable.

Errors

An EPipeSeek exception is raised if this method is called.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.