InkStrokeContainer.LoadAsync(IInputStream) 方法

定義

以非同步方式將所有InkStroke物件從指定的資料流程載入 InkStroke 集合,該集合是由InkStrokeContainer所管理。

在載入新的筆劃之前, 會清除 InkStrokeContainer 中的所有現有筆劃。

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)

參數

inputStream
IInputStream

目標資料流。

傳回

IAsyncActionWithProgress<UInt64>

Windows.Foundation.IAsyncActionWithProgress

IAsyncActionWithProgress<uint64_t>

非同步作業的狀態為擷取的位元組數目。 如需詳細資訊,請參閱 ReadAsync 方法。

實作

屬性

適用於

另請參閱