ViewEngineResult.Found(String, IView) 方法

定义

找到视图时返回结果。

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

参数

viewName
String

视图的名称。

view
IView

IView

返回

找到的结果。

适用于