Stream: SeekOrigin

SeekOrigin

The reference point in which to begin seeking from.

 Public Enum SeekOrigin

Values

FromBeginning = FILE_BEGIN
The new position will be offset from the beginning of the file. A negative value will cause an exception.
FromCurrent = FILE_CURRENT
The position will be offset from the current file pointer location. The value can be negative to seek backwards from the current position.
FromEnd = FILE_END
The new position will be offset from the end of the file. A positive number will cause an exception. The offset should be 0 or negative.

See Also

Project CorLib Overview

Class Stream Overview