You are developing a Windows Store app.
You need to allow the app to share content with other applications.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the
correct order.)
Select and Place:
Explanation:
Note:
The DataTransferManager object is the main starting point for any share operation. You’ll add a datarequested event handler on the DataTransferManager
object in the activated event handler of your app. The datarequested event occurs when the will.
When adatarequestedevent occurs, your app receives aDataRequestobject. This object contains aDataPackagethat you can use to provide the content that the
user wants to share.
Example code (for step 3):
// This app is newly launched; register it as a share source.
var dataTransferManager = Windows.ApplicationModel.DataTransfer.DataTransferManager.getForCurrentView();How to share files (HTML) (Windows)