IUrlSearchParams Interface

IUrlSearchParams interface

Provides methods to work with URLs query String.

public interface IUrlSearchParams : IEnumerable<String[]>

Methods

NameDescription
append(String, String)Appends a new name-value pair whose name is name and value is value.
delete(String)Removes all name-value pairs whose name is name.
get(String)Returns value of the first name-value pair whose name is name.
getAll(String)Returns all values whose name is name.
has(String)Checks if there is a name-value pair whose name is name in list.
set(String, String)Sets 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.
sort()Sorts all name-value pairs, if any, by their names.

See Also