Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Bundle.IncludeDirectory Method (String, String)

Includes all files in a directory that match a search pattern.

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

abstract IncludeDirectory : 
        directoryVirtualPath:string * 
        searchPattern:string -> Bundle  
override IncludeDirectory : 
        directoryVirtualPath:string * 
        searchPattern:string -> Bundle

Parameters

directoryVirtualPath
Type: System.String
The virtual path to the directory from which to search for files.
searchPattern
Type: System.String
The search pattern to use in selecting files to add to the bundle.

Return Value

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