Provides information for an application that is a target for share operations.
public ref class ShareTargetActivatedEventArgs sealed : Object, IShareTargetActivatedEventArgs, IActivatedEventArgs
The ShareTargetActivatedEventArgs class has these types of members:
The ShareTargetActivatedEventArgs class inherits methods from the Object class.
The ShareTargetActivatedEventArgs class has these properties.
|Read-only||Gets the activation type.|
|Read-only||Gets the execution state of the app before it was activated.|
|Read-only||Gets information about data included in a share operation.|
|Read-only||Gets the splash screen object which provides information about the transition from the splash screen to the activated app.|
Windows Store apps built for Windows using C++, C#, or Visual Basic typically implement activation points by overriding methods of the Application object. The default template app.xaml code-behind files always include an override for OnLaunched, but defining overrides for other activation points such as OnShareTargetActivated is up to your app code.
For example code, see Share target activation sample.
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8|
Build date: 2/25/2013