HeaderDictionaryExtensions.Append 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.
Add new values. Each item remains a separate array entry.
public:
[System::Runtime::CompilerServices::Extension]
static void Append(Microsoft::AspNetCore::Http::IHeaderDictionary ^ headers, System::String ^ key, Microsoft::Extensions::Primitives::StringValues value);
public static void Append (this Microsoft.AspNetCore.Http.IHeaderDictionary headers, string key, Microsoft.Extensions.Primitives.StringValues value);
static member Append : Microsoft.AspNetCore.Http.IHeaderDictionary * string * Microsoft.Extensions.Primitives.StringValues -> unit
<Extension()>
Public Sub Append (headers As IHeaderDictionary, key As String, value As StringValues)
Parameters
- headers
- IHeaderDictionary
The IHeaderDictionary to use.
- key
- String
The header name.
- value
- StringValues
The header value.