ICloudBlob.DownloadRangeToByteArray Methode

Definition

Lädt einen Bereich von Bytes aus einem Blob in ein Bytearray herunter.

public 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);
abstract member DownloadRangeToByteArray : byte[] * int * Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> int
Public 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

Parameter

target
Byte[]

Das Zielbytearray.

index
Int32

Der Startoffset im Bytearray.

blobOffset
Nullable<Int64>

Der Startoffset des Datenbereichs in Bytes.

length
Nullable<Int64>

Die Länge des Datenbereichs in Bytes.

accessCondition
AccessCondition

Ein AccessCondition-Objekt, das die Bedingung darstellt, die erfüllt werden muss, damit die Anforderung fortgesetzt werden kann.

options
BlobRequestOptions

Ein BlobRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt. Wenn null, werden standardoptionen auf die Anforderung angewendet.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

Die Gesamtanzahl der in den Puffer gelesenen Bytes.

Gilt für: