다음을 통해 공유


IContentWriter.Seek(Int64, SeekOrigin) Method

Definition

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.

Applies to