CloudBlob.DownloadToByteArray Methode

Definition

Lädt den Inhalt eines Blobs in ein Bytearray herunter.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual int DownloadToByteArray (byte[] target, int index, 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 DownloadToByteArray : byte[] * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> int
override this.DownloadToByteArray : byte[] * int * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> int
Public Overridable Function DownloadToByteArray (target As Byte(), index As Integer, 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.

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.

Attribute

Gilt für: