-api-id | -api-type |
---|---|
P:Windows.ApplicationModel.DataTransfer.StandardDataFormats.Uri |
winrt property |
Note
Uri may be altered or unavailable for releases after Windows 8.1. Instead, use ApplicationLink or WebLink.
A read-only property that returns the format ID string value corresponding to the Uniform Resource Identifier (URI) format.
The format ID string value corresponding to the Uniform Resource Identifier (URI) format.
This example demonstrates the use of the Uri property. To use the code in this example, add an event listener to your app to handle the activated event. Then put this code in the function that this event listener calls.
[!code-csharpHowToShareLink_CS]