Share via


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 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
Derived
Attributes
Implements

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Properties

Kind

Gets the reason that this app is being activated.

(Inherited from IActivatedEventArgs)
Operation

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

PreviousExecutionState

Gets the execution state of the app before this activation.

(Inherited from IActivatedEventArgs)
SplashScreen

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

(Inherited from IActivatedEventArgs)

Applies to

See also