IContentWriter.Seek(Int64, SeekOrigin) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves the current "block" to be written to a position relative to a place in the writer.
public:
void Seek(long offset, System::IO::SeekOrigin origin);
public void Seek (long offset, System.IO.SeekOrigin origin);
abstract member Seek : int64 * System.IO.SeekOrigin -> unit
Public Sub Seek (offset As Long, origin As SeekOrigin)
Parameters
- offset
- Int64
An offset of the number of blocks to seek from the origin.
- origin
- SeekOrigin
The place in the stream to start the seek from.
Remarks
The implementation of this method moves the content writer offset
number of blocks from the specified origin
. See Write(IList) for a description of what a block is.