Home > Language Reference > Classes > Stream
SeekToEnd Method
Moves the pointer to the end of the stream.
Syntax
Public Sub SeekToEnd()
Remarks
The SeekToEnd method places the stream pointer after the last 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 the value returned from the Size property.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |