次の方法で共有


CachedFileManager.CompleteUpdatesAsync(IStorageFile) メソッド

定義

指定したファイルの更新を開始します。 このメソッドは、ファイルを提供したアプリに連絡して更新を実行します。

public:
 static IAsyncOperation<FileUpdateStatus> ^ CompleteUpdatesAsync(IStorageFile ^ file);
 static IAsyncOperation<FileUpdateStatus> CompleteUpdatesAsync(IStorageFile const& file);
public static IAsyncOperation<FileUpdateStatus> CompleteUpdatesAsync(IStorageFile file);
function completeUpdatesAsync(file)
Public Shared Function CompleteUpdatesAsync (file As IStorageFile) As IAsyncOperation(Of FileUpdateStatus)

パラメーター

file
IStorageFile

更新するファイル。

戻り値

このメソッドが完了すると、ファイルの更新の状態を記述する FileUpdateStatus 列挙値が返されます。

注釈

このメソッドを使用すると、ファイルの更新が完了し、Windows がユーザー入力を要求する必要がある場合があります。  たとえば、ファイルを提供したアプリは更新を実行するためにアクティブ化され、そのアプリはファイル ピッカーを介して UI を表示できます。

適用対象