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.SetWebLink | setWebLink method

Applies to Windows and Windows Phone

Sets the web link that a DataPackage contains.

Syntax


public:
void SetWebLink(
  Uri^ value
)

Parameters

value

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

A URI with an http or https scheme that corresponds to the content being displayed to the user.

Remarks

Whenever possible, you should set this property. 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.

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

WebLink
GetWebLink
DataPackage

 

 

Show:
© 2014 Microsoft. All rights reserved.