Home > Language Reference > Classes > Stream

SeekToBegin Method

Moves the pointer to the beginning of the stream.

Syntax

Public Sub SeekToBegin()

Remarks

The SeekToBegin method places the stream pointer on the first data byte in the stream. It can only be used on StreamMemory, StreamRecord, StreamFile, StreamFileDB, StreamComposite and StreamNull objects. On all other types of stream, it causes a runtime error.

Calling this method is the same as setting the Position property to zero.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A