DataReader.LoadAsync(UInt32) DataReader.LoadAsync(UInt32) DataReader.LoadAsync(UInt32) DataReader.LoadAsync(UInt32) DataReader.LoadAsync(UInt32) Method

Definition

Loads data from the input stream.

public : DataReaderLoadOperation LoadAsync(unsigned int count)
DataReaderLoadOperation LoadAsync(uint32_t count) const;
public DataReaderLoadOperation LoadAsync(UInt32 count)
Public Function LoadAsync(count As UInt32) As DataReaderLoadOperation
Windows.Storage.Streams.DataReader.loadAsync(count).done( /* Your success and error handlers */ );

Parameters

count
UInt32 UInt32 UInt32

The count of bytes to load into the intermediate buffer.

Returns

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.

See also