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
- searchedLocations
Type: System.Collections.Generic.IEnumerable<String>
The searched locations.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The searchedLocations parameter is null reference (Nothing in Visual Basic). |