HeaderDictionary.Add Method (KeyValuePair<String, String>)
.NET Framework 4.5
Adds a specific item to the dictionary.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Sub Add ( _
item As KeyValuePair(Of String, String) _
)
'Usage
Dim instance As HeaderDictionary
Dim item As KeyValuePair(Of String, String)
instance.Add(item)
public void Add(
KeyValuePair<string, string> item
)
public:
virtual void Add(
KeyValuePair<String^, String^> item
) sealed
abstract Add :
item:KeyValuePair<string, string> -> unit
override Add :
item:KeyValuePair<string, string> -> unit
public final function Add(
item : KeyValuePair<String, String>
)
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<String, String>
The item to add.