Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the current position of this stream to the given value.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function Seek ( _
offset As Long, _
origin As SeekOrigin _
) As Long
'Usage
Dim instance As SPFileStream
Dim offset As Long
Dim origin As SeekOrigin
Dim returnValue As Long
returnValue = instance.Seek(offset, origin)
public override long Seek(
long offset,
SeekOrigin origin
)
Parameters
offset
Type: System.Int64The point relative to origin from which to begin seeking.
origin
Type: System.IO.SeekOriginSpecifies 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.