ViewEngineResult Constructor (IEnumerable(String))
Collapse the table of content
Expand the table of content

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)

new : 
        searchedLocations:IEnumerable<string> -> ViewEngineResult

Parameters

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

The searched locations.

ExceptionCondition
ArgumentNullException

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

Show:
© 2016 Microsoft