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>

要追加的值。

适用于