HttpResponse.Headers Property
This property supports the ASP.NET infrastructure and is not intended to be used directly from your code.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Headers As NameValueCollection
Visual Basic (Usage)
Dim instance As HttpResponse
Dim value As NameValueCollection

value = instance.Headers
C#
public NameValueCollection Headers { get; }
C++
public:
property NameValueCollection^ Headers {
    NameValueCollection^ get ();
}
J#
/** @property */
public NameValueCollection get_Headers ()
JScript
public function get Headers () : NameValueCollection
XAML
Not applicable.
Platforms

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0
See Also

Tags :


Community Content

Matt Fowler
System.PlatformNotSupportedException on IIS6
Trying to access this property while running ASP.NET under any configuration except IIS7 with Integrated Pipeline mode enabled will result in a System.PlatformNotSupportedException being thrown.
Tags :

Page view tracker