ViewEngineResult.Found(String, IView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a result when a view is found.
public:
static Microsoft::AspNetCore::Mvc::ViewEngines::ViewEngineResult ^ Found(System::String ^ viewName, Microsoft::AspNetCore::Mvc::ViewEngines::IView ^ view);
public static Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult Found (string viewName, Microsoft.AspNetCore.Mvc.ViewEngines.IView view);
static member Found : string * Microsoft.AspNetCore.Mvc.ViewEngines.IView -> Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult
Public Shared Function Found (viewName As String, view As IView) As ViewEngineResult
Parameters
- viewName
- String
The name of the view.
Returns
The found result.