Share via


ViewEngineResult.Found(String, IView) Method

Definition

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.

view
IView

The IView.

Returns

The found result.

Applies to