AppActivationArguments.Data Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.