HeaderDictionaryTypeExtensions.AppendList<T> 方法

定義

將值序列附加至 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))

類型參數

T

標頭值的型別。

參數

name
String

標頭名稱。

values
IList<T>

要附加的值。

適用於