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
System_CAPS_pubmethod Add(KeyValuePair<String, String[]>)

Adds a new list of items to the collection.

System_CAPS_pubmethod 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

Implements

ICollection<T>.Add(T)

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

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)

Return to top