FormDataCollection Constructor (IEnumerable<KeyValuePair<String, String>>)
Initializes a new instance of FormDataCollection class.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Sub New ( _
pairs As IEnumerable(Of KeyValuePair(Of String, String)) _
)
'Usage
Dim pairs As IEnumerable(Of KeyValuePair(Of String, String))
Dim instance As New FormDataCollection(pairs)
public FormDataCollection(
IEnumerable<KeyValuePair<string, string>> pairs
)
public:
FormDataCollection(
IEnumerable<KeyValuePair<String^, String^>>^ pairs
)
new :
pairs:IEnumerable<KeyValuePair<string, string>> -> FormDataCollection
public function FormDataCollection(
pairs : IEnumerable<KeyValuePair<String, String>>
)
Parameters
pairs
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>The pairs.