Partager via


Bundle Constructor (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 _
)
'Usage
Dim virtualPath As String 

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

Parameters

  • virtualPath
    Type: System.String
    The virtual path used to reference the Bundle from within a view or Web page.

See Also

Reference

Bundle Class

Bundle Overload

System.Web.Optimization Namespace