BundleResolver.GetBundleContents Method

Returns an enumeration of actual file paths to the contents of the bundle.

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

Syntax

'Declaration
Public Function GetBundleContents ( _
    virtualPath As String _
) As IEnumerable(Of String)
'Usage
Dim instance As BundleResolver 
Dim virtualPath As String 
Dim returnValue As IEnumerable(Of String)

returnValue = instance.GetBundleContents(virtualPath)
public IEnumerable<string> GetBundleContents(
    string virtualPath
)
public:
virtual IEnumerable<String^>^ GetBundleContents(
    String^ virtualPath
) sealed
abstract GetBundleContents : 
        virtualPath:string -> IEnumerable<string> 
override GetBundleContents : 
        virtualPath:string -> IEnumerable<string> 
public final function GetBundleContents(
    virtualPath : String
) : IEnumerable<String>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<String>
The actual file paths to the contents of the bundle.

Implements

IBundleResolver.GetBundleContents(String)

See Also

Reference

BundleResolver Class

System.Web.Optimization Namespace