HeaderDictionaryTypeExtensions.AppendList<T> Méthode

Définition

Ajoute une séquence de valeurs à 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))

Paramètres de type

T

Type de valeur d’en-tête.

Paramètres

Headers
IHeaderDictionary

L’IHeaderDictionaryopérateur

name
String

Nom de l'en-tête.

values
IList<T>

Valeurs à ajouter.

S’applique à