Click or drag to resize

ExtensionsParseQueryString Method

Parses a query string into a NameValueCollection using UTF8 encoding.

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static ReadOnlyDictionary<string, string> ParseQueryString(
	this Uri uri
)

Parameters

uri
Type: SystemUri
The uri to parse.

Return Value

Type: ReadOnlyDictionaryString, String
A dictionary of query parameters and values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Uri. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionuri is null
See Also