HeaderDictionary.Add Method
Adds a new list of items in the collection.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Overload List
Name | Description | |
---|---|---|
Add(KeyValuePair<String, String[]>) | Adds a new list of items to the collection. |
|
Add(String, String[]) | Adds the given header and values to the collection. |
See Also
HeaderDictionary Class
Microsoft.Owin Namespace
Return to top
HeaderDictionary.Add Method (KeyValuePair<String, String[]>)
Adds a new list of items to the collection.
Syntax
public void Add(
KeyValuePair<string, string[]> item
)
public:
virtual void Add(
KeyValuePair<String^, array<String^>^> item
) sealed
abstract Add :
item:KeyValuePair<string, string[]> -> unit
override Add :
item:KeyValuePair<string, string[]> -> unit
Public Sub Add (
item As KeyValuePair(Of String, String())
)
Parameters
item
Type: System.Collections.Generic.KeyValuePair<String, String[]>The item to add.
Implements
Return to top
HeaderDictionary.Add Method (String, String[])
Adds the given header and values to the collection.
Syntax
public void Add(
string key,
string[] value
)
public:
virtual void Add(
String^ key,
array<String^>^ value
) sealed
abstract Add :
key:string *
value:string[] -> unit
override Add :
key:string *
value:string[] -> unit
Public Sub Add (
key As String,
value As String()
)
Parameters
key
Type: System.StringThe header name.
value
Type: System.String[]The header values.
Implements
IDictionary<TKey, TValue>.Add(TKey, TValue)
Return to top