ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs ICommandLineActivatedEventArgs Interface

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

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

public : interface ICommandLineActivatedEventArgspublic interface ICommandLineActivatedEventArgsPublic Interface ICommandLineActivatedEventArgs// You can use this interface in JavaScript.
Inheritance
ICommandLineActivatedEventArgsICommandLineActivatedEventArgsICommandLineActivatedEventArgsICommandLineActivatedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited properties

Properties

Operation Operation Operation Operation

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

public : CommandLineActivationOperation Operation { get; }public CommandLineActivationOperation Operation { get; }Public ReadOnly Property Operation As CommandLineActivationOperation// You can use this property in JavaScript.

Remarks

The app supplies the exit code which is passed back to the caller.