ViewEngineResult Constructor (IEnumerable<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)

Syntax

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

Dim instance As New ViewEngineResult(searchedLocations)
public ViewEngineResult(
    IEnumerable<string> searchedLocations
)
public:
ViewEngineResult(
    IEnumerable<String^>^ searchedLocations
)
public function ViewEngineResult(
    searchedLocations : IEnumerable<String>
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The searchedLocations parameter is nulla null reference (Nothing in Visual Basic).

See Also

Reference

ViewEngineResult Class

ViewEngineResult Overload

System.Web.Mvc Namespace