ScriptBundle Constructor (String, String)
Initializes a new instance of the ScriptBundle class that takes virtual path and cdnPath for the bundle.
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 ScriptBundle(virtualPath, _
cdnPath)
public ScriptBundle(
string virtualPath,
string cdnPath
)
public:
ScriptBundle(
String^ virtualPath,
String^ cdnPath
)
new :
virtualPath:string *
cdnPath:string -> ScriptBundle
public function ScriptBundle(
virtualPath : String,
cdnPath : String
)
Parameters
- virtualPath
Type: System.String
The virtual path for the bundle.
- cdnPath
Type: System.String
The path of a Content Delivery Network (CDN).