エクスポート (0) 印刷
すべて展開
EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。
このトピックはまだ評価されていません - このトピックを評価する

CloudBlockBlob.DownloadToByteArray Method

Updated: October 23, 2013

[This topic is part of the Windows Azure Storage Client Library 2.1. The current recommended version is Storage Client Library 3.0.]

Downloads the contents of a blob to a byte array.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'使用
Dim instance As CloudBlockBlob
Dim target As Byte()
Dim index As Integer
Dim accessCondition As AccessCondition
Dim options As BlobRequestOptions
Dim operationContext As OperationContext
Dim returnValue As Integer

returnValue = instance.DownloadToByteArray(target, index, accessCondition, options, operationContext)
[DoesServiceRequest] 
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 access conditions for the blob.

options

A BlobRequestOptions object that specifies any additional options for 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

 

この情報は役に立ちましたか。
(残り 1500 文字)
フィードバックをいただき、ありがとうございました
表示:
© 2014 Microsoft. All rights reserved.