Windows Dev Center

DataRequestedEventArgs.Request | request property

Enables you to get the DataRequest object and either give it data or a failure message.

Syntax


var request = dataRequestedEventArgs.request;

Property value

Type: DataRequest

The object used to manage content as part of a share operation.

Remarks

When a user invokes the Share UI to share content, the system fires a datarequested event. The request property of the event contains a DataRequest object, which lets your app supply the information the user wants to share.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataRequestedEventArgs

 

 

Show:
© 2015 Microsoft