Share via


BundleTable.EnableOptimizations Property

Gets or sets whether bundling and minification of bundle references is enabled.

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

Syntax

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

value = BundleTable.EnableOptimizations 

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

Property Value

Type: System.Boolean
true if bundling and minification of bundle references is enabled; otherwise, false.

See Also

Reference

BundleTable Class

System.Web.Optimization Namespace