DeviceActivatedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class DeviceActivatedEventArgs sealed : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
public ref class DeviceActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceActivatedEventArgs final : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DeviceActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceActivatedEventArgs : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DeviceActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class DeviceActivatedEventArgs
Implements IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class DeviceActivatedEventArgs
Implements IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IViewSwitcherProvider
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
注解
版本历史记录
Windows 版本 | SDK 版本 | 增值 |
---|---|---|
1607 | 14393 | 用户 |
属性
CurrentlyShownApplicationViewId |
获取当前显示的应用视图的标识符。 |
DeviceInformationId |
获取调用自动播放的设备的设备标识符。 |
Kind |
获取激活类型。 |
PreviousExecutionState |
获取激活前的应用的执行状态。 |
SplashScreen |
获取初始屏幕对象,该对象提供有关从初始屏幕到激活应用转换的信息。 |
User |
获取为其激活应用的用户。 |
Verb |
获取与已激活设备关联的操作。 |
ViewSwitcher |
获取视图切换器对象,该对象允许您设置应用程序的视图。 |