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)
Syntax
'Declaration
Public Sub New ( _
nameValueCollection As IEnumerable(Of KeyValuePair(Of String, String)) _
)
'Usage
Dim nameValueCollection As IEnumerable(Of KeyValuePair(Of String, String))
Dim instance As New FormUrlEncodedContent(nameValueCollection)
public FormUrlEncodedContent(
IEnumerable<KeyValuePair<string, string>> nameValueCollection
)
public:
FormUrlEncodedContent(
IEnumerable<KeyValuePair<String^, String^>>^ nameValueCollection
)
new :
nameValueCollection:IEnumerable<KeyValuePair<string, string>> -> FormUrlEncodedContent
public function FormUrlEncodedContent(
nameValueCollection : IEnumerable<KeyValuePair<String, String>>
)
Parameters
- nameValueCollection
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>
A collection of name/value pairs.