Seek()

Stream::Seek(int64_t, SeekOrigin) 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

Arguments

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

Return Value

The new position of the stream

See Also