FormUrlEncodedContent Constructor

Initializes a new instance of the FormUrlEncodedContent class with a specific collection of name/value pairs.

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

public FormUrlEncodedContent(
	IEnumerable<KeyValuePair<string, string>> nameValueCollection
)

Parameters

nameValueCollection
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
A collection of name/value pairs.
Show: