BundleContext.UseServerCache Property

Gets or sets whether the bindle context will store the bundle response in the HttpContext.Cache.

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

Syntax

'Declaration
Public Property UseServerCache As Boolean 
    Get 
    Set
'Usage
Dim instance As BundleContext 
Dim value As Boolean 

value = instance.UseServerCache

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

Property Value

Type: System.Boolean
true if the bindle context will store the bundle response in the cache; Otherwise, false.

See Also

Reference

BundleContext Class

System.Web.Optimization Namespace