UserActivity.ContentUri Property


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

 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.


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