Dela via


DataPackagePropertySet.ContentSourceApplicationLink Property

Definition

Gets or sets the application link to the content from the source app.

public:
 property Uri ^ ContentSourceApplicationLink { Uri ^ get(); void set(Uri ^ value); };
Uri ContentSourceApplicationLink();

void ContentSourceApplicationLink(Uri value);
public System.Uri ContentSourceApplicationLink { get; set; }
var uri = dataPackagePropertySet.contentSourceApplicationLink;
dataPackagePropertySet.contentSourceApplicationLink = uri;
Public Property ContentSourceApplicationLink As Uri

Property Value

The Uniform Resource Identifier (URI) of the application link to shared content.

Remarks

ContentSourceApplicationLink is a companion property that you use to attribute shared content. It's shared when the app finds it meaningful for the user to return to the content that's currently displayed in the app. When the user makes a selection, the ApplicationLink format isn't populated, because the value for ApplicationLink format isn't the same as the user's selection. Populating this info doesn't mean that the deep link into the app represents the user's selection, only that the content comes from there.

Applies to