Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Searches the registered view engines and returns the object that is used to render the view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Function FindView ( _
context As ControllerContext _
) As ViewEngineResult
protected override ViewEngineResult FindView(
ControllerContext context
)
protected:
virtual ViewEngineResult^ FindView(
ControllerContext^ context
) override
Parameters
- context
Type: System.Web.Mvc.ControllerContext
The controller context.
Return Value
Type: System.Web.Mvc.ViewEngineResult
The object that is used to render the view.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | An error occurred while the method was searching for the view. |