Share via


AppActivationArguments.Data Property

Definition

Gets the data payload for a registered activation.

public:
 property Platform::Object ^ Data { Platform::Object ^ get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
IInspectable Data();
IInspectable Data();
[Windows.Foundation.Metadata.Experimental]
public object Data { [Windows.Foundation.Metadata.Experimental] get; }
public object Data { get; }
var object = appActivationArguments.data;
Public ReadOnly Property Data As Object

Property Value

Object

Platform::Object

IInspectable

The data payload for a registered activation. For more information about the type of this object, see the remarks.

Attributes

Remarks

The value of this property has one of the following data types, depending on the activation type specified by the Kind property.

Activation kind Data type
Launch ILaunchActivatedEventArge
File IFileActivatedEventArgs
Protocol IProtocolActivatedEventArgs
StartupTask IStartupTaskActivatedEventArgs

The Kind is limited to those activation kinds that are supported in the Windows App SDK. Currently, those are Launch, File, Protocol, and StartupTask.

Applies to

See also