Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Initiates an asynchronous operation to download the contents of a blob to a byte array.

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

Syntax

 
[DoesServiceRequestAttribute]
public virtual Task<int> DownloadToByteArrayAsync(
	byte[] target,
	int index
)
 
public:
[DoesServiceRequestAttribute]
virtual Task<int>^ DownloadToByteArrayAsync(
	array<unsigned char>^ target,
	int index
)
 
[<DoesServiceRequestAttribute>]
abstract DownloadToByteArrayAsync : 
        target:byte[] *
        index:int -> Task<int>
[<DoesServiceRequestAttribute>]
override DownloadToByteArrayAsync : 
        target:byte[] *
        index:int -> Task<int>
 
<DoesServiceRequestAttribute>
Public Overridable Function DownloadToByteArrayAsync (
	target As Byte(),
	index As Integer
) As Task(OfInteger)

Parameters

target
Type: System.Byte[]array<System::Byte>^System.Byte[]System.Byte()

The target byte array.

index
Type: System.Int32System::Int32System.Int32System.Int32

The starting offset in the byte array.

Return to top