Method AddQuery
AddQuery(string, string?)
Adds a query parameter to the URL.
public UrlBuilder AddQuery(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.
AddQuery(string, params string?[])
Adds a query parameter with multiple values to the URL.
public UrlBuilder AddQuery(string key, params string?[] values)
Parameters
keystringThe key of the query parameter.
valuesstring[]The values of the query parameter, or an array containing null values to add empty values.
Returns
- UrlBuilder
The current UrlBuilder instance.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語