Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataPackage.SetApplicationLink | setApplicationLink method

Applies to Windows and Windows Phone

Sets the application link that a DataPackage contains.

Syntax


dataPackage.setApplicationLink(value);

Parameters

value

Type: Windows.Foundation.Uri [JavaScript] | System.Uri [.NET] | Windows::Foundation::Uri [C++]

A URI with a scheme that isn't http or https that's handled by the source app.

Remarks

Whenever possible, you should set this property. This URI represents a deep link that takes the user back to the currently displayed content. A source app provides a value for this property, and a target app reads the value. Use this property to indicate the source of the shared content.

The scheme of this URI must not be http or https. The app sharing this URI must be capable of being the default handler, although it may not be set as the default handler.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

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

GetApplicationLinkAsync
DataPackage

 

 

Show:
© 2014 Microsoft