HeaderDictionaryTypeExtensions.AppendList<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Headers
- IHeaderDictionary
The IHeaderDictionary.
- name
- String
The header name.
- values
- IList<T>
The values to append.