ICommandLineActivatedEventArgs 介面

定義

定義介面,以在從命令列啟動應用程式時提供資訊,例如命令列引數。

public interface class ICommandLineActivatedEventArgs : IActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.Guid(1158039340, 106, 18667, 138, 251, 208, 122, 178, 94, 51, 102)]
struct ICommandLineActivatedEventArgs : IActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.Guid(1158039340, 106, 18667, 138, 251, 208, 122, 178, 94, 51, 102)]
public interface ICommandLineActivatedEventArgs : IActivatedEventArgs
Public Interface ICommandLineActivatedEventArgs
Implements IActivatedEventArgs
衍生
屬性
實作

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

屬性

Kind

取得啟動此應用程式的原因。

(繼承來源 IActivatedEventArgs)
Operation

提供應用程式啟用的相關資訊,例如提供哪些引數和目前的目錄路徑。

PreviousExecutionState

取得此啟用之前的應用程式執行狀態。

(繼承來源 IActivatedEventArgs)
SplashScreen

取得啟動顯示畫面物件,該物件提供從啟動顯示畫面轉換到啟動之應用程式的相關資訊。

(繼承來源 IActivatedEventArgs)

適用於

另請參閱