匯出 (0) 列印
全部展開
EN
本內容沒有您的語言版本,但有英文版本。

CloudBlockBlob.DownloadToByteArray Method

Updated: May 15, 2014

Downloads the contents of a blob to a byte array.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

[DoesServiceRequestAttribute] 
public int DownloadToByteArray (
	byte[] target,
	int index,
	[OptionalAttribute] AccessCondition accessCondition,
	[OptionalAttribute] BlobRequestOptions options,
	[OptionalAttribute] OperationContext operationContext
)

Parameters

target

The target byte array.

index

The starting offset in the byte array.

accessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed.

options

A BlobRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext

An OperationContext object that represents the context for the current operation.

Return Value

The total number of bytes read into the buffer.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

Microsoft 正展開一份線上問卷調查,了解您對於 MSDN 網站的看法。 如果您選擇參加,您離開 MSDN 網站時即會顯示線上問卷調查。

您是否想要參加?
顯示:
© 2014 Microsoft