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.
Namespace: System.Windows.Navigation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property UriMappings As Collection(Of UriMapping)
public Collection<UriMapping> UriMappings { get; private set; }
<sdk:UriMapper>
oneOrMoreUriMappings
</sdk:UriMapper>
XAML Values
- oneOrMoreUriMappings
One or more UriMapping object elements.
Property Value
Type: System.Collections.ObjectModel..::.Collection<(Of <(UriMapping>)>)
A collection of objects that are used to convert URI values.
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
System.Windows.Navigation Namespace