DataReader.LoadAsync(UInt32) Method

Definition

Loads data from the input stream.

public:
 virtual DataReaderLoadOperation ^ LoadAsync(unsigned int count) = LoadAsync;
DataReaderLoadOperation LoadAsync(unsigned int count);
[Windows.Foundation.Metadata.RemoteAsync]
public DataReaderLoadOperation LoadAsync(uint count);
function loadAsync(count)
Public Function LoadAsync (count As UInteger) As DataReaderLoadOperation

Parameters

count
UInt32

The count of bytes to load into the intermediate buffer.

Returns

DataReaderLoadOperation

The asynchronous load data request.

Implements

Attributes

Remarks

The read operation can get more or fewer bytes depending on how the InputStreamOptions property is set.

You will need to call this method to load the data before the data can be read from DataReader.

Applies to

See also