Click or drag to resize

MongoGridFSStreamSeek Method

Seeks to a new position.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: SystemInt64
The seek offset.
origin
Type: System.IOSeekOrigin
The seek origin.

Return Value

Type: Int64
The new position.
See Also