System::IO::Stream::Seek method

Stream::Seek method

Sets the position of the stream represented by the current object.

virtual int64_t System::IO::Stream::Seek(int64_t offset, SeekOrigin origin)=0
ParameterTypeDescription
offsetint64_tThe byte offset relative to a position specified by origin
originSeekOriginSpecifies the position from which and the direction toward which the offset is calculated

ReturnValue

The new position of the stream

See Also