Méthode | Description | |
---|---|---|
Add ( string key, IEnumerable |
Adds the given set of values to the query string for the specified key.
|
|
Add ( string key, string value ) : void |
Adds a value to the query string for the specified key.
|
|
FromUrl ( |
Parses a QueryString from the given Uri.
|
|
Get ( string key ) : string |
Gets the value for the specified key.
|
|
GetAll ( string key ) : string[] |
Gets a collection of all values for the specified key.
|
|
Parse ( string query ) : QueryString |
Parses the given query string into a QueryString instance.
|
|
QueryString ( ) : System |
Initializes a new instance of the QueryString class.
|
|
Remove ( string key ) : void |
Removes the specified key and its value(s) from the query string.
|
|
Set ( string key, string value ) : void |
Sets the value in the query string for the specified key.
|
|
SetAll ( string key, IEnumerable |
Sets all of the values in the given collection for the specified key.
|
|
ToOrderedDescendingString ( ) : string |
Converts this instance into an ordered URL-encoded query string, sorted in descending order.
|
|
ToOrderedString ( ) : string |
Converts this instance into an ordered URL-encoded query string, sorted in ascending order.
|
|
ToString ( ) : string |
Converts this instance to a URL-encoded query string. This method is equivalent to ToOrderedString().
|
|
this ( string key ) : string |
Gets or sets the value for the specified key.
|
Méthode | Description | |
---|---|---|
ToOrderedString ( bool descending ) : string |
Converts this instance into an ordered URL-encoded query string.
|
public Add ( string key, IEnumerable |
||
key | string | The key to add the values for. |
values | IEnumerable |
The set of values to add. |
Résultat | void |
public Add ( string key, string value ) : void | ||
key | string | The key to add the value for. |
value | string | The value to add. |
Résultat | void |
public static FromUrl ( |
||
uri | The |
|
Résultat | QueryString |
public Get ( string key ) : string | ||
key | string | The key to get the value for. |
Résultat | string |
public GetAll ( string key ) : string[] | ||
key | string | The key to get values for. |
Résultat | string[] |
public static Parse ( string query ) : QueryString | ||
query | string | The query string to parse. |
Résultat | QueryString |
public Remove ( string key ) : void | ||
key | string | The key to remove. |
Résultat | void |
public Set ( string key, string value ) : void | ||
key | string | The key to set the value for. |
value | string | The value to set. |
Résultat | void |
public SetAll ( string key, IEnumerable |
||
key | string | The key to set the values for. |
values | IEnumerable |
The value collection to set. |
Résultat | void |
public ToOrderedDescendingString ( ) : string | ||
Résultat | string |
public this ( string key ) : string | ||
key | string | The key to get or set the value for. |
Résultat | string |