Compartilhar via


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) _
)
public ViewEngineResult(
    IEnumerable<string> searchedLocations
)
public:
ViewEngineResult(
    IEnumerable<String^>^ searchedLocations
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

ViewEngineResult Class

ViewEngineResult Overload

System.Web.Mvc Namespace