Share via


WebPageHttpHandler.DisableWebPagesResponseHeader Property

Gets or sets a value that indicates whether web page response headers are disabled.

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

Syntax

'Declaration
Public Shared Property DisableWebPagesResponseHeader As Boolean 
    Get 
    Set
'Usage
Dim value As Boolean 

value = WebPageHttpHandler.DisableWebPagesResponseHeader 

WebPageHttpHandler.DisableWebPagesResponseHeader = value
public static bool DisableWebPagesResponseHeader { get; set; }
public:
static property bool DisableWebPagesResponseHeader {
    bool get ();
    void set (bool value);
}
static member DisableWebPagesResponseHeader : bool with get, set
static function get DisableWebPagesResponseHeader () : boolean 
static function set DisableWebPagesResponseHeader (value : boolean)

Property Value

Type: System.Boolean
true if web page response headers are disabled; otherwise, false.

See Also

Reference

WebPageHttpHandler Class

System.Web.WebPages Namespace