Freigeben über


HeaderDictionaryExtensions.Append Methode

Definition

Fügt neue Werte hinzu. Jedes Element bleibt ein separater Arrayeintrag.

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)

Parameter

headers
IHeaderDictionary

Der zu verwendende IHeaderDictionary.

key
String

Der Headername.

value
StringValues

Der Headerwert.

Gilt für: