Share via

Bundle.Include Method (String[])

Specifies a set of files to be included in the Bundle.

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


Public Overridable Function Include ( _
    ParamArray virtualPaths As String() _
) As Bundle
Dim instance As Bundle 
Dim virtualPaths As String()
Dim returnValue As Bundle 

returnValue = instance.Include(virtualPaths)
public virtual Bundle Include(
    params string[] virtualPaths
virtual Bundle^ Include(
    ... array<String^>^ virtualPaths
abstract Include : 
        virtualPaths:string[] -> Bundle  
override Include : 
        virtualPaths:string[] -> Bundle
public function Include(
    ... virtualPaths : String[]
) : Bundle


  • virtualPaths
    Type: System.String[]
    The virtual path of the file or file pattern to be included in the bundle.

Return Value

Type: System.Web.Optimization.Bundle
The Bundle object itself for use in subsequent method chaining.

See Also


Bundle Class

Include Overload

System.Web.Optimization Namespace