ViewEngineResult Constructor (IEnumerable(Of String))

Initializes a new instance of the ViewEngineResult class by using the specified searched locations.

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

'Declaration
Public Sub New ( _
	searchedLocations As IEnumerable(Of String) _
)
'Usage
Dim searchedLocations As IEnumerable(Of String)

Dim instance As New ViewEngineResult(searchedLocations)

Parameters

searchedLocations
Type: System.Collections.Generic.IEnumerable(Of String)

The searched locations.

ExceptionCondition
ArgumentNullException

The searchedLocations parameter is Nothing.

Show: