Partager via


IActionInvoker.InvokeAction Method

Invokes the specified action by using the specified controller context.

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

Syntax

'Declaration
Function InvokeAction ( _
    controllerContext As ControllerContext, _
    actionName As String _
) As Boolean
bool InvokeAction(
    ControllerContext controllerContext,
    string actionName
)
bool InvokeAction(
    ControllerContext^ controllerContext, 
    String^ actionName
)

Parameters

Return Value

Type: System.Boolean
true if the action was found; otherwise, false.

See Also

Reference

IActionInvoker Interface

System.Web.Mvc Namespace