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 | User |
屬性
| CurrentlyShownApplicationViewId |
取得目前顯示之應用程式檢視的識別碼。 |
| DeviceInformationId |
取得叫用 AutoPlay 之裝置的裝置識別碼。 |
| Kind |
取得啟用類型。 |
| PreviousExecutionState |
取得應用程式啟動前的執行狀態。 |
| SplashScreen |
取得啟動顯示畫面物件,提供從啟動顯示畫面轉換至啟動應用程式的相關資訊。 |
| User |
取得啟動應用程式的使用者。 |
| Verb |
取得與啟動裝置相關聯的動作。 |
| ViewSwitcher |
取得檢視切換器物件,可讓您設定應用程式的檢視。 |