Dela via


QueryHelpers.ParseQuery(String) Method

Definition

Parse a query string into its component key and value parts.

public:
 static System::Collections::Generic::Dictionary<System::String ^, Microsoft::Extensions::Primitives::StringValues> ^ ParseQuery(System::String ^ queryString);
public static System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> ParseQuery (string queryString);
public static System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> ParseQuery (string? queryString);
static member ParseQuery : string -> System.Collections.Generic.Dictionary<string, Microsoft.Extensions.Primitives.StringValues>
Public Shared Function ParseQuery (queryString As String) As Dictionary(Of String, StringValues)

Parameters

queryString
String

The raw query string value, with or without the leading '?'.

Returns

A collection of parsed keys and values.

Applies to