HttpResponseWrapper.Headers Property


Gets the collection of response headers.

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

public override NameValueCollection Headers { get; }

Property Value

Type: System.Collections.Specialized.NameValueCollection

The response headers.

Exception Condition

The operation requires the integrated pipeline mode in IIS 7.0 and at least the .NET Framework version 3.0.

.NET Framework
Available since 3.5
Return to top