FileOpenPicker.ResumePickSingleFileAsync 方法

定义

如果用户在选取器操作完成且应用暂停后离开应用,则恢复选取操作以检索用户选择的文件。

public:
 static IAsyncOperation<StorageFile ^> ^ ResumePickSingleFileAsync();
/// [Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
[Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
function resumePickSingleFileAsync()
Public Shared Function ResumePickSingleFileAsync () As IAsyncOperation(Of StorageFile)

返回

成功完成对此方法的调用后,它将返回一个 StorageFile 对象,该对象表示用户选取的文件。

属性

注解

请勿使用。

适用于