Dela via


IInkStrokeContainer.LoadAsync(IInputStream) Method

Definition

Asynchronously loads all InkStroke objects from the specified stream to the InkStroke collection that is managed by the InkStrokeContainer.

public:
 IAsyncActionWithProgress<unsigned long long> ^ LoadAsync(IInputStream ^ inputStream);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncActionWithProgress<uint64_t> LoadAsync(IInputStream const& inputStream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncActionWithProgress<ulong> LoadAsync(IInputStream inputStream);
function loadAsync(inputStream)
Public Function LoadAsync (inputStream As IInputStream) As IAsyncActionWithProgress(Of ULong)

Parameters

inputStream
IInputStream

The stream that contains the stroke collection. An IRandomAccessStream (requires IOutputStream) object can be specified instead.

Returns

IAsyncActionWithProgress<UInt64>

Windows.Foundation.IAsyncActionWithProgress<unsigned long long>

IAsyncActionWithProgress<uint64_t>

The status of the asynchronous operation as the number of bytes fetched. For more information, see ReadAsync method.

Attributes

Applies to

See also