Method SetQuery
SetQuery(string, params string?[])
Sets (removes and adds) a query parameter with multiple values in the URL.
public UrlBuilder SetQuery(string key, params string?[] values)
Parameters
Returns
- UrlBuilder
The current UrlBuilder instance, with the query parameter set.
SetQuery(string, string?)
Sets (removes and adds) a query parameter with a single value in the URL.
public UrlBuilder SetQuery(string key, string? value)
Parameters
keystringThe key of the query parameter.
valuestringThe value of the query parameter, or null to add an empty value.
Returns
- UrlBuilder
The current UrlBuilder instance, with the query parameter set.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語