UriMapper.UriMappings Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a collection of objects that are used to convert a uniform resource identifier (URI) into a new URI.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
<sdk:UriMapper> oneOrMoreUriMappings </sdk:UriMapper>
XAML Values
Property Value
Type: System.Collections.ObjectModel.Collection<UriMapping>A collection of objects that are used to convert URI values.
You add a UriMapping object to the UriMappings collection to define a URI that you want to convert to another URI. The UriMapping object that you add contains a Uri property that specifies the requested URI to convert and a MappedUri property that specifies the new URI to use.
If you add more than one UriMapping object that contains the same value in the Uri property, only the first instance in the collection is used for mapping the URI to a new URI.