CloudBlob.DownloadRangeToByteArray メソッド

定義

BLOB から特定範囲のバイトをバイト配列にダウンロードします。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual int DownloadRangeToByteArray (byte[] target, int index, long? blobOffset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.Blob.BlobRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member DownloadRangeToByteArray : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> int
override this.DownloadRangeToByteArray : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> int
Public Overridable Function DownloadRangeToByteArray (target As Byte(), index As Integer, blobOffset As Nullable(Of Long), length As Nullable(Of Long), Optional accessCondition As AccessCondition = Nothing, Optional options As BlobRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Integer

パラメーター

target
Byte[]

対象のバイト配列です。

index
Int32

バイト配列内の開始オフセットです。

blobOffset
Nullable<Int64>

データ範囲の開始オフセットです (バイト単位)。

length
Nullable<Int64>

BLOB からダウンロードするデータの長さ (バイト単位) です。

accessCondition
AccessCondition

要求を実行するために満たす必要のある条件を表す AccessCondition オブジェクトです。

options
BlobRequestOptions

要求の追加オプションを指定する BlobRequestOptions オブジェクトです。 の場合 null、既定のオプションが要求に適用されます。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

戻り値

バッファーに読み取られた合計バイト数。

属性

適用対象