Uri.setQueryString

bool setQueryString(string query = null)

Sets or unsets the query table in the URI.

Parameters

queryThe new percent encoded query string to use to populate the query table, or use null to unset the query table.

Returns

true if the query table was set successfully.