Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NavigationContext.QueryString Property

July 28, 2014

Gets a collection of query string values.

Namespace:  System.Windows.Navigation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public IDictionary<string, string> QueryString { get; private set; }

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
A collection that contains the query string values.

You retrieve values from the query string to generate the desired state of a page for a navigation request. A navigation request with query string values includes the query string key/value pairs after a question mark (?) delimiter. For example, you can store in the query string the identifier of the record you wish to display on a page, such as /Views/Product.xaml?productid=45&format=long. The values from the query string are decoded before being stored in the QueryString collection.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft