ControllerDescriptor.FindAction(ControllerContext, String) ControllerDescriptor.FindAction(ControllerContext, String) Method

Definition

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

public abstract System.Web.Mvc.ActionDescriptor FindAction (System.Web.Mvc.ControllerContext controllerContext, string actionName);
abstract member FindAction : System.Web.Mvc.ControllerContext * string -> System.Web.Mvc.ActionDescriptor

Parameters

controllerContext
ControllerContext ControllerContext

The controller context.

actionName
String String

The name of the action.

Returns

The information about the action method.

Applies to