public static ParameterCollection FromDictionary(IDictionary<string, object> dictionary)
Creates a parameter collection from the specified dictionary.
If the value is an enumerable, a parameter pair will be added for each value.
Otherwise the value will be converted into a string using the .ToString() method.
public static ParameterCollection FromQueryString(string qs)
Creates a parameter collection from the specified URL encoded query string.
Example:
The query string "foo=bar&chocolate=cookie" would result in two parameters (foo and bar)
with the values "bar" and "cookie" set.
public bool TryGetValue(string key, out string value)
Tries to find the a key within the specified key value collection. Returns true if the key was found.
If a pair was found the out parameter value will contain the value of that pair.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["The `ParameterCollection` class is a collection of key-value pairs, allowing for duplicate keys, that can be used to manage parameters in requests."],["This class inherits from `List\u003cKeyValuePair\u003cstring, string\u003e\u003e` and implements several interfaces, including `IList`, `ICollection`, `IEnumerable`, `IReadOnlyList`, and `IReadOnlyCollection`, providing extensive collection capabilities."],["It includes methods for adding, retrieving, and managing parameters, such as `Add`, `ContainsKey`, `GetAllMatches`, `GetFirstMatch`, and `TryGetValue`."],["`ParameterCollection` can be created from a dictionary using `FromDictionary` or from a URL encoded query string using `FromQueryString`."],["The `ParameterCollection` class has various constructors available, allowing for creating an empty collection or one from an existing collection."]]],[]]