ViewEngineResult.Found(String, IView) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
找到檢視時傳回結果。
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
檢視的名稱。
傳回
找到的結果。