Export (0) Print
Expand All

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)

public abstract ActionDescriptor FindAction(
	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.Web.Mvc.ActionDescriptor
The information about the action method.
Show:
© 2015 Microsoft