Delen via


DataPackage.SetWebLink(Uri) Method

Definition

Sets the web link that a DataPackage contains.

public:
 virtual void SetWebLink(Uri ^ value) = SetWebLink;
void SetWebLink(Uri const& value);
public void SetWebLink(System.Uri value);
function setWebLink(value)
Public Sub SetWebLink (value As Uri)

Parameters

value
Uri Uri

A Uniform Resource Identifier (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.

Applies to

See also