共用方式為


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

傳回

找到的結果。

適用於