IUrlSearchParams class

IUrlSearchParams class

Provides methods to work with URLs query string.

The IUrlSearchParams type exposes the following members:

Methods

MethodDescription
appendAppends a new name-value pair whose name is name and value is value.
deleteRemoves all name-value pairs whose name is name.
getReturns value of the first name-value pair whose name is name.
get_allReturns all values whose name is name.
hasChecks if there is a name-value pair whose name is name in list.
setSets value of the first found name-value pair to the specified value and removes the others.
If no name-value pairs with the specified name are found, new one will be appended to the list.
sortSorts all name-value pairs, if any, by their names.

See Also