Partager via


MvcHandler.DisableMvcResponseHeader Property

Gets or sets a value that indicates whether the MVC response header is disabled.

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

Syntax

'Declaration
Public Shared Property DisableMvcResponseHeader As Boolean
    Get
    Set
public static bool DisableMvcResponseHeader { get; set; }
public:
static property bool DisableMvcResponseHeader {
    bool get ();
    void set (bool value);
}

Property Value

Type: System.Boolean
true if the MVC response header is disabled; otherwise, false.

See Also

Reference

MvcHandler Class

System.Web.Mvc Namespace