UserActivity.ContentUri Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.