-api-id | -api-type |
---|---|
T:Windows.ApplicationModel.Activation.ShareTargetActivatedEventArgs |
winrt class |
Provides information for an application that is a target for share operations.
JavaScript This type appears as WebUIShareTargetActivatedEventArgs.
This object is accessed when you implement an event handler to respond to Activated events when ActivationKind is ShareTarget.
UWP app 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.
All Application overrides involved in an activation scenario should call Window.Activate in their implementations.
For example code, see Share target activation sample.
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | User |
Windows.UI.Core.CoreApplicationView.Activated, Share target activation sample