Export (0) Print
Expand All

HttpResponseWrapper.AddHeader Method

Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public override void AddHeader(
	string name,
	string value
)

Parameters

name
Type: System.String

The name of the HTTP header to add value to.

value
Type: System.String

The string to add to the header.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft