ControllerDescriptor.FindAction Method

Finds an action method by using the specified name and controller context.

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

Syntax

'Declaration
Public MustOverride Function FindAction ( _
    controllerContext As ControllerContext, _
    actionName As String _
) As ActionDescriptor
public abstract ActionDescriptor FindAction(
    ControllerContext controllerContext,
    string actionName
)
public:
virtual ActionDescriptor^ FindAction(
    ControllerContext^ controllerContext, 
    String^ actionName
) abstract

Parameters

Return Value

Type: System.Web.Mvc.ActionDescriptor
The information about the action method.

See Also

Reference

ControllerDescriptor Class

System.Web.Mvc Namespace