DataPackage.RequestedOperation | requestedOperation property

Specifies the DataPackageOperation (none, move, copy, and/or link) for the operation.

Syntax


public:
property DataPackageOperation RequestedOperation { 
   DataPackageOperation get();
   void set (DataPackageOperation value);
}

Property value

Type: DataPackageOperation

The operation requested by the source app.

Remarks

This property specifies the operation(s) that the system takes for a clipboard-related task. The supported options are specified in the DataPackageOperation enumeration.

This property can specify zero or more flags. If more than one operation flag is specified, the recipient of the data package can choose which available operation to perform. When reporting or inspecting the result of an operation, at most one operation flag can be specified.

You do not need this property for sharing operations.

Examples

No code example is currently available or this language may not be supported.

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.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

DataPackage

 

 

Show:
© 2015 Microsoft