Uri.Query Property
Silverlight
Gets any query information included in the specified URI.
Namespace: System
Assembly: System (in System.dll)
Property Value
Type: System.StringA String that contains any query information included in the specified URI.
| Exception | Condition |
|---|---|
| InvalidOperationException |
This property is valid only for an absolute Uri instance. |
The Query property contains any query information included in the URI. Query information is separated from the path information by a question mark (?) and continues to the end of the URI. The query information returned includes the leading question mark.
The query information is escaped according to RFC 3986.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.