SPFileStream.Seek method
將這個資料流的目前位置設定為指定的值。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overrides Function Seek ( _
offset As Long, _
origin As SeekOrigin _
) As Long
'用途
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
)
參數
offset
Type: System.Int64要開始搜尋的原點的相對點。
origin
Type: System.IO.SeekOrigin指定開始、 結束或目前的位置為起點,使用的型別System.IO.SeekOrigin值的參考點。
傳回值
Type: System.Int64
資料流中的新位置。