DataRequestedEventArgs.Request | request property

Applies to Windows and Windows Phone

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

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:
© 2014 Microsoft