The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpRequestMessageExtensions.GetQueryNameValuePairs Method (HttpRequestMessage)


Gets the parsed query string as a collection of key-value pairs.

Namespace:   System.Net.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static IEnumerable<KeyValuePair<stringstring>> GetQueryNameValuePairs(
	this HttpRequestMessage request


Type: System.Net.Http.HttpRequestMessage

The HTTP request.

Return Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<StringString>>

The query string as a collection of key-value pairs.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft