FileOpenPickerContinuationEventArgs 类

定义

提供有关在应用暂停后为文件打开选取器操作触发的已激活事件的信息。

public ref class FileOpenPickerContinuationEventArgs sealed : IFileOpenPickerContinuationEventArgs
public ref class FileOpenPickerContinuationEventArgs sealed : IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FileOpenPickerContinuationEventArgs final : IFileOpenPickerContinuationEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FileOpenPickerContinuationEventArgs final : IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("FileOpenPickerContinuationEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
class FileOpenPickerContinuationEventArgs final : IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FileOpenPickerContinuationEventArgs : IFileOpenPickerContinuationEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FileOpenPickerContinuationEventArgs : IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("FileOpenPickerContinuationEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public sealed class FileOpenPickerContinuationEventArgs : IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
Public NotInheritable Class FileOpenPickerContinuationEventArgs
Implements IFileOpenPickerContinuationEventArgs
Public NotInheritable Class FileOpenPickerContinuationEventArgs
Implements IActivatedEventArgsWithUser, IFileOpenPickerContinuationEventArgs
继承
Object Platform::Object IInspectable FileOpenPickerContinuationEventArgs
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

注意

此类在 Windows 10 版本 2004 (内部版本 19041) 中已弃用。 文件/文件夹延续 API 不再与停止Windows Phone相关。

ActivationKindPickFileContinuation时实现响应已激活事件的事件处理程序时,可以访问 FileOpenPickerContinuationEventArgs 对象。

有关使用 FileOpenPickerContinuationEventArgs 类的示例,请参阅如何在调用 AndContinue 方法后继续Windows Phone 8.x 应用

版本历史记录

Windows 版本 SDK 版本 已添加值
1607 14393 User

属性

ContinuationData

获取应用在 FileOpenPicker 操作之前填充的一组值,该操作会停用应用,以便在激活应用时提供上下文。

Files

获取用户在文件打开选取器操作期间选择的文件列表。

Kind

获取激活类型。

PreviousExecutionState

获取应用在激活前的执行状态。

SplashScreen

获取 SplashScreen 对象,该对象提供有关从初始屏幕到激活的应用的转换的信息。

User

获取为其激活应用的用户。

适用于

另请参阅