HeaderDictionaryExtensions.Append(IHeaderDictionary, String, StringValues) HeaderDictionaryExtensions.Append(IHeaderDictionary, String, StringValues) HeaderDictionaryExtensions.Append(IHeaderDictionary, String, StringValues) Method

Definition

Add new values. Each item remains a separate array entry.

public static void Append (this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues value);
static member Append : Microsoft.AspNetCore.Http.IHeaderDictionary * string * Microsoft.Extensions.Primitives.StringValues -> unit
<Extension()>
Public Sub Append (headers As IHeaderDictionary, key As String, value As StringValues)

Parameters

key
String String String

The header name.

value
StringValues StringValues StringValues

The header value.

Applies to