HttpResponseBase.AppendHeader Method (String, String)

 

Adds an HTTP header to the current response.

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

abstract AppendHeader : 
        name:string *
        value:string -> unit
override AppendHeader : 
        name:string *
        value:string -> unit

Parameters

name
Type: System.String

The name of the HTTP header to add to the current response.

value
Type: System.String

The value of the header.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: