ControllerDescriptor.FindAction(ControllerContext, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public MustOverride Function FindAction (controllerContext As ControllerContext, actionName As String) As ActionDescriptor
Parameters
- controllerContext
- ControllerContext
The controller context.
- actionName
- String
The name of the action.
Returns
The information about the action method.