Export (0) Print
Expand All

BundleResolver.GetBundleUrl Method

Gets the versioned url for the bundle or returns the virtualPath unchanged if it does not point to a bundle.

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

public string GetBundleUrl(
	string virtualPath
)

Parameters

virtualPath
Type: System.String
The virtual file path.

Return Value

Type: System.String
The versioned url for the bundle.

Implements

IBundleResolver.GetBundleUrl(String)
Show:
© 2015 Microsoft