Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- actionName
Type: System.String
The name of the action.
Return Value
Type: System.Boolean
true if the action was found; otherwise, false.