IBundleResolver.GetBundleContents Method

Returns a list of all the virtualPaths of the contents of the bundle.

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

Syntax

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

returnValue = instance.GetBundleContents(virtualPath)
IEnumerable<string> GetBundleContents(
    string virtualPath
)
IEnumerable<String^>^ GetBundleContents(
    String^ virtualPath
)
abstract GetBundleContents : 
        virtualPath:string -> IEnumerable<string> 
function GetBundleContents(
    virtualPath : String
) : IEnumerable<String>

Parameters

  • virtualPath
    Type: System.String
    The virtual path for the bundle.

Return Value

Type: System.Collections.Generic.IEnumerable<String>
The list of virtual path.

See Also

Reference

IBundleResolver Interface

System.Web.Optimization Namespace