BundleCollection.GetBundleFor Method
Returns a bundle in the collection using the specified virtual path.
Namespace: System.Web.Optimization
Assembly: System.Web.Optimization (in System.Web.Optimization.dll)
Syntax
'Declaration
Public Function GetBundleFor ( _
bundleVirtualPath As String _
) As Bundle
'Usage
Dim instance As BundleCollection
Dim bundleVirtualPath As String
Dim returnValue As Bundle
returnValue = instance.GetBundleFor(bundleVirtualPath)
public Bundle GetBundleFor(
string bundleVirtualPath
)
public:
Bundle^ GetBundleFor(
String^ bundleVirtualPath
)
member GetBundleFor :
bundleVirtualPath:string -> Bundle
public function GetBundleFor(
bundleVirtualPath : String
) : Bundle
Parameters
- bundleVirtualPath
Type: System.String
The virtual path of the bundle to return.
Return Value
Type: System.Web.Optimization.Bundle
The bundle for the virtual path or null if no bundle exists at the path.