Bundle Constructor (String, String)

Initializes a new instance of the Bundle class.

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

Syntax

'Declaration
Public Sub New ( _
    virtualPath As String, _
    cdnPath As String _
)
'Usage
Dim virtualPath As String 
Dim cdnPath As String 

Dim instance As New Bundle(virtualPath, _
    cdnPath)
public Bundle(
    string virtualPath,
    string cdnPath
)
public:
Bundle(
    String^ virtualPath, 
    String^ cdnPath
)
new : 
        virtualPath:string * 
        cdnPath:string -> Bundle
public function Bundle(
    virtualPath : String, 
    cdnPath : String
)

Parameters

  • virtualPath
    Type: System.String
    The virtual path used to reference the Bundle from within a view or Web page.
  • cdnPath
    Type: System.String
    An alternate URL for the bundle when it is stored in a content delivery network.

See Also

Reference

Bundle Class

Bundle Overload

System.Web.Optimization Namespace