Udostępnij za pośrednictwem


LaunchActivatedEventArgs Class

Definition

Provides event information for the Application.OnLaunched event.

public ref class LaunchActivatedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LaunchActivatedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LaunchActivatedEventArgs
Public NotInheritable Class LaunchActivatedEventArgs
Inheritance
Object Platform::Object IInspectable LaunchActivatedEventArgs
Attributes

Remarks

The Arguments and UWPLaunchActivatedEventArgs properties are not supported in Windows App SDK apps.

You can retrieve command-line arguments for the current process by calling:

Properties

Arguments

Gets the arguments that are passed to the application during launch.

UWPLaunchActivatedEventArgs

Gets the Windows.ApplicationModel.Activation.LaunchActivatedEventArgs for a UWP app. Do not use.

Applies to