ControllerDescriptor.FindAction Method (ControllerContext, String)

 

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 MustOverride Function FindAction (
	controllerContext As ControllerContext,
	actionName As String
) As ActionDescriptor

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.

Return to top
Show: