Bundle.CdnFallbackExpression Property

Gets the script expression rendered by the Scripts helper class to reference the local bundle file if the CDN is unavailable.

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

Syntax

'Declaration
Public Overridable Property CdnFallbackExpression As String 
    Get 
    Set
'Usage
Dim instance As Bundle 
Dim value As String 

value = instance.CdnFallbackExpression

instance.CdnFallbackExpression = value
public virtual string CdnFallbackExpression { get; set; }
public:
virtual property String^ CdnFallbackExpression {
    String^ get ();
    void set (String^ value);
}
abstract CdnFallbackExpression : string with get, set 
override CdnFallbackExpression : string with get, set
function get CdnFallbackExpression () : String 
function set CdnFallbackExpression (value : String)

Property Value

Type: System.String
The script expression rendered by the Scripts helper class to reference the local bundle file if the CDN is unavailable.

See Also

Reference

Bundle Class

System.Web.Optimization Namespace