Condividi tramite


BundleCollection.ResolveBundleUrl Method (String)

Returns the bundle URL for the specified virtual path.

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

Syntax

'Declaration
Public Function ResolveBundleUrl ( _
    bundleVirtualPath As String _
) As String
'Usage
Dim instance As BundleCollection 
Dim bundleVirtualPath As String 
Dim returnValue As String 

returnValue = instance.ResolveBundleUrl(bundleVirtualPath)
public string ResolveBundleUrl(
    string bundleVirtualPath
)
public:
String^ ResolveBundleUrl(
    String^ bundleVirtualPath
)
member ResolveBundleUrl : 
        bundleVirtualPath:string -> string
public function ResolveBundleUrl(
    bundleVirtualPath : String
) : String

Parameters

Return Value

Type: System.String
The bundle URL or null if the bundle cannot be found.

See Also

Reference

BundleCollection Class

ResolveBundleUrl Overload

System.Web.Optimization Namespace