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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eParameterCollection\u003c/code\u003e class is a collection of key-value pairs, allowing for duplicate keys, that implements multiple interfaces for list and collection manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eList<KeyValuePair<string, string>>\u003c/code\u003e and offers methods for adding, searching, and managing parameters, with numerous inherited methods from its base classes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParameterCollection\u003c/code\u003e provides constructors for creating a new collection or initializing it from an existing \u003ccode\u003eIEnumerable<KeyValuePair<string, string>>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes static methods \u003ccode\u003eFromDictionary\u003c/code\u003e and \u003ccode\u003eFromQueryString\u003c/code\u003e to create collections from dictionaries or URL-encoded query strings, respectively.\u003c/p\u003e\n"],["\u003cp\u003eKey methods include \u003ccode\u003eAdd(string, string)\u003c/code\u003e, \u003ccode\u003eContainsKey(string)\u003c/code\u003e, \u003ccode\u003eGetAllMatches(string)\u003c/code\u003e, \u003ccode\u003eGetFirstMatch(string)\u003c/code\u003e, and \u003ccode\u003eTryGetValue(string, out string)\u003c/code\u003e for managing and retrieving parameter values.\u003c/p\u003e\n"]]],[],null,[]]