Share via


BundleCollection.UseCdn Property

Gets or sets whether the collection will try to use CdnPath if specified.

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

Syntax

'Declaration
Public Property UseCdn As Boolean 
    Get 
    Set
'Usage
Dim instance As BundleCollection 
Dim value As Boolean 

value = instance.UseCdn

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

Property Value

Type: System.Boolean
true if the collection will try to use Bundle.CdnPath if specified; Otherwise, false.

See Also

Reference

BundleCollection Class

System.Web.Optimization Namespace