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
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |