Method
UrlBuilder.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 #
key string
The key of the query parameter.
values string?[]
The values of the query parameter.
Returns #
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 #
key string
The key of the query parameter.
value string?
The value of the query parameter, or null to add an empty value.
Returns #
The current UrlBuilder instance, with the query parameter set.