共用方式為


ViewResultBase.ExecuteResult Method

When called by the action invoker, renders the view to the response.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overrides Sub ExecuteResult ( _
    context As ControllerContext _
)
public override void ExecuteResult(
    ControllerContext context
)
public:
virtual void ExecuteResult(
    ControllerContext^ context
) override

Parameters

Exceptions

Exception Condition
ArgumentNullException

The context parameter is null reference (Nothing in Visual Basic).

See Also

Reference

ViewResultBase Class

System.Web.Mvc Namespace