complete-reference-vb_net_57
complete-reference-vb_net_57
Seek
The Seek method changes the current position in the stream to the value passed as the argument. Its signature
is as follows:
You can use the CanSeek property to determine whether the current instance supports seeking. Also note that
seeking to any location beyond the length of the stream is supported. Set the position to one byte beyond the
end of the stream, as recommended by the SDK documentation to open a new file and write to it. This lets you
append to the file. Just remember that the position cannot be set to more than one byte beyond the end of the
stream.
Writing to a file stream object can be performed like the following examples which add words to the top of
the noisewords files. Existing words are pushed down:
541