SPFileStream.Seek method

Sets the current position of this stream to the given value.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System.Int64

The point relative to origin from which to begin seeking.

origin
Type: System.IO.SeekOrigin

Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type System.IO.SeekOrigin.

Return value

Type: System.Int64
The new position in the stream.
Show: