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)

public:
ViewEngineResult(
	IEnumerable<String^>^ searchedLocations
)

Parameters

searchedLocations
Type: System.Collections.Generic::IEnumerable<String>

The searched locations.

ExceptionCondition
ArgumentNullException

The searchedLocations parameter is nullptr.

Show: