Compartilhar via


PartialViewResult.FindView Method

Returns the ViewEngineResult 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

Return Value

Type: System.Web.Mvc.ViewEngineResult
The view engine result.

Exceptions

Exception Condition
InvalidOperationException

An error occurred while the method was attempting to find the view.

See Also

Reference

PartialViewResult Class

System.Web.Mvc Namespace