ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs Interface

Definition

Defines the interface for providing info, such as the command-line arguments, when an app is activated from the command line.

public : interface ICommandLineActivatedEventArgs : IActivatedEventArgs
struct winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs : IActivatedEventArgs
public interface ICommandLineActivatedEventArgs : IActivatedEventArgs
Public Interface ICommandLineActivatedEventArgs Implements IActivatedEventArgs
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Inheritance
ICommandLineActivatedEventArgsICommandLineActivatedEventArgsICommandLineActivatedEventArgsICommandLineActivatedEventArgsICommandLineActivatedEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Properties

Kind Kind Kind Kind Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
Operation Operation Operation Operation Operation

Provides info about the activation of the app such as what arguments were provided and the current directory path.

PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
SplashScreen SplashScreen SplashScreen SplashScreen SplashScreen

Gets the splash screen object that provides information about the transition from the splash screen to the activated app.

(Inherited from IActivatedEventArgs)

See also