Dela via


QueryHelpers.ParseNullableQuery(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> ^ ParseNullableQuery(System::String ^ queryString);
public static System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> ParseNullableQuery (string queryString);
public static System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues>? ParseNullableQuery (string queryString);
public static System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues>? ParseNullableQuery (string? queryString);
static member ParseNullableQuery : string -> System.Collections.Generic.Dictionary<string, Microsoft.Extensions.Primitives.StringValues>
Public Shared Function ParseNullableQuery (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, null if there are no entries.

Applies to