HttpResponse::AddHeader Method (String^, String^)
.NET Framework (current version)
Adds an HTTP header to the output stream. AddHeader is provided for compatibility with earlier versions of ASP.
Assembly: System.Web (in System.Web.dll)
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.
AddHeader is the same as AppendHeader and is provided only for compatibility with earlier versions of ASP. With ASP.NET, use AppendHeader.
.NET Framework
Available since 1.1
Available since 1.1
Show: