Initialises a new instance of the Url class using the attributes of this Url,
but with the specified QueryData object (replacing the existing query data if present).
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
Parameters
- queryData
- Type: Facilita.Web QueryData
A collection of key/value pairs to be appended to the URL.
Return Value
A new Url object which is the same as this Url but with the specified queryData.Examples
IpEndPoint myServer = new IpEndPoint("www.myCompany.co.uk", 8080); Url url = new Url(Protocol.HTTP, myServer, "index.php"); QueryData queryData = new QueryData(); queryData.Add("sessionID", "12345"); Url url2 = url.WithQuery(queryData); // This refers to http://www.myCompany.co.uk:8080/index.php?sessionID=12345
See Also