FileOpenPicker.ResumePickSingleFileAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果用户在选取器操作完成且应用暂停后离开应用,则恢复选取操作以检索用户选择的文件。
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 对象,该对象表示用户选取的文件。
- 属性
注解
请勿使用。