UserActivity.ContentUri Property

Definition

Gets and sets the content Uniform Resource Identifier (URI) of the content or document that is represented by the UserActivity.

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

void ContentUri(Uri value);
public System.Uri ContentUri { get; set; }
var uri = userActivity.contentUri;
userActivity.contentUri = uri;
Public Property ContentUri As Uri

Property Value

The content URI.

Remarks

One use for a content URI is if you don't have a website for the app but you have content that could be viewed, instead.

Applies to