HtmlDocument.QueryString Property


Gets a navigable, read-only collection of name/value pairs that represent the query string parameters on the current page's URL.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

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

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
The query string parameters on the current page's URL.

You cannot modify the query string parameters. (This is considered a page navigation action; see the Navigate overloads in the HtmlWindow class.)

If the current page URL has no query string variables, the property returns an empty collection.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions