共用方式為


HttpContent.ReadAsByteArrayAsync Method

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Function ReadAsByteArrayAsync As Task(Of Byte())
'Usage
Dim instance As HttpContent 
Dim returnValue As Task(Of Byte())

returnValue = instance.ReadAsByteArrayAsync()
public Task<byte[]> ReadAsByteArrayAsync()
public:
Task<array<unsigned char>^>^ ReadAsByteArrayAsync()
member ReadAsByteArrayAsync : unit -> Task<byte[]> 
public function ReadAsByteArrayAsync() : Task<byte[]>

Return Value

Type: System.Threading.Tasks.Task<Byte[]>

See Also

Reference

HttpContent Class

System.Net.Http Namespace