Uri.setQueryValue

bool setQueryValue(string queryKey, string queryValue = null)

This inserts or replaces a key in the query table. A query_value of null indicates that the key has no associated value, but will still be present in the query string.

Parameters

queryKeyThe key for the query entry.
queryValueThe value for the key.

Returns

true if the query table was successfully updated.