메소드 | 설명 | |
---|---|---|
GetValue ( string key ) : string |
Gets the value corresponding to the given key in a case-insensitive manner (eg. from a URL ending in #key=value).
|
|
SetValue ( string key, string value ) : void |
Adds, or updates, the key-value pair to the URL hash in non-destructive manner. Non-destructive means that the existing values within the URL hash are retained. |
|
SetValues ( string>.Dictionary |
Converts the given dictionary to a URL-hash and replaces the current URL-hash with this value. Use this method, in conjuction with the ValueDictionary to perform non-destructive edits to the URL-hash. |
메소드 | 설명 | |
---|---|---|
GetDictionary ( bool keyToLower ) : string>.Dictionary |
||
ToUrlHash ( string>.Dictionary |
public static GetValue ( string key ) : string | ||
key | string | The key of the value (not case-sensitive). |
리턴 | string |
public static SetValue ( string key, string value ) : void | ||
key | string | The key of the value (case-sensitive). |
value | string | The value (pass null to remove). |
리턴 | void |
public static SetValues ( string>.Dictionary |
||
values | string>.Dictionary | A dictionary of values (like the dictionary retreived from the 'ValueDictionary' property). |
리턴 | void |