Skip to main content
HttpResponseHeaderCollection.Append | append method

Applies to Windows and Windows Phone

Adds a new item to the end of the HttpResponseHeaderCollection.

Syntax


httpResponseHeaderCollection.append(name, value);

public void Append(
  string name, 
  string value
)

Public Sub Append(
  name As String,  
  value As String 
)

public:
void Append(
  String^ name, 
  String^ value
)

Parameters

name

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the value to add.

value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The item value to add.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

Add(KeyValuePair)
Add(String)
HttpResponseHeaderCollection