ControllerActionInvoker.FindAction Method

Finds the information about the action method.

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

'Declaration
Protected Overridable Function FindAction ( _
	controllerContext As ControllerContext, _
	controllerDescriptor As ControllerDescriptor, _
	actionName As String _
) As ActionDescriptor
'Usage
Dim controllerContext As ControllerContext 
Dim controllerDescriptor As ControllerDescriptor 
Dim actionName As String 
Dim returnValue As ActionDescriptor 

returnValue = Me.FindAction(controllerContext, _
	controllerDescriptor, actionName)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

controllerDescriptor
Type: System.Web.Mvc.ControllerDescriptor

The controller descriptor.

actionName
Type: System.String

The name of the action.

Return Value

Type: System.Web.Mvc.ActionDescriptor
Information about the action method.
Show: