Dela via


InkStrokeContainer.LoadAsync(IInputStream) Method

Definition

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

All existing strokes in the InkStrokeContainer are cleared before new strokes are loaded.

public:
 virtual IAsyncActionWithProgress<unsigned long long> ^ LoadAsync(IInputStream ^ inputStream) = LoadAsync;
/// [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 target stream.

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.

Implements

Attributes

Applies to

See also