Megosztás a következőn keresztül:


HeaderDictionary.Add Method

Definition

Overloads

Add(KeyValuePair<String,StringValues>)

Adds a new header item to the collection.

Add(String, StringValues)

Adds the given header and values to the collection.

Add(KeyValuePair<String,StringValues>)

Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs

Adds a new header item to the collection.

public:
 virtual void Add(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues> item);
public void Add (System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues> -> unit
Public Sub Add (item As KeyValuePair(Of String, StringValues))

Parameters

item
KeyValuePair<String,StringValues>

The item to add.

Implements

Applies to

Add(String, StringValues)

Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs
Source:
HeaderDictionary.cs

Adds the given header and values to the collection.

public:
 virtual void Add(System::String ^ key, Microsoft::Extensions::Primitives::StringValues value);
public void Add (string key, Microsoft.Extensions.Primitives.StringValues value);
abstract member Add : string * Microsoft.Extensions.Primitives.StringValues -> unit
override this.Add : string * Microsoft.Extensions.Primitives.StringValues -> unit
Public Sub Add (key As String, value As StringValues)

Parameters

key
String

The header name.

value
StringValues

The header values.

Implements

Applies to