HeaderDictionaryTypeExtensions.AppendList<T> Method

Definition

Appends a sequence of values to IHeaderDictionary.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void AppendList(Microsoft::AspNetCore::Http::IHeaderDictionary ^ Headers, System::String ^ name, System::Collections::Generic::IList<T> ^ values);
public static void AppendList<T> (this Microsoft.AspNetCore.Http.IHeaderDictionary Headers, string name, System.Collections.Generic.IList<T> values);
static member AppendList : Microsoft.AspNetCore.Http.IHeaderDictionary * string * System.Collections.Generic.IList<'T> -> unit
<Extension()>
Public Sub AppendList(Of T) (Headers As IHeaderDictionary, name As String, values As IList(Of T))

Type Parameters

T

The type of header value.

Parameters

name
String

The header name.

values
IList<T>

The values to append.

Applies to