次の方法で共有


File.ContinueUpload メソッド

Continues the chunk upload session with an additional fragment. The current file content is not changed.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Function ContinueUpload ( _
    uploadId As Guid, _
    fileOffset As Long, _
    stream As Stream _
) As ClientResult(Of Long)
'使用
Dim instance As File
Dim uploadId As Guid
Dim fileOffset As Long
Dim stream As Stream
Dim returnValue As ClientResult(Of Long)

returnValue = instance.ContinueUpload(uploadId, _
    fileOffset, stream)
public ClientResult<long> ContinueUpload(
    Guid uploadId,
    long fileOffset,
    Stream stream
)

パラメーター

  • uploadId
    型: System.Guid

    The unique identifier of the upload session.

  • fileOffset
    型: System.Int64

    The size of the offset into the file where the fragment starts.

戻り値

型: Microsoft.SharePoint.Client.ClientResult<Int64>
The size of the total uploaded data in bytes.

注釈

Use the uploadId value that was passed to the StartUpload(Guid, Stream) method that started the upload session.

This method is currently available only on Office 365.

関連項目

参照先

File クラス

File メンバー

Microsoft.SharePoint.Client 名前空間

Upload large files sample app for SharePoint