ControllerActionInvoker.GetParameterValue Method

Gets the value of the specified action-method parameter.

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

'Declaration
Protected Overridable Function GetParameterValue ( _
	controllerContext As ControllerContext, _
	parameterDescriptor As ParameterDescriptor _
) As Object
'Usage
Dim controllerContext As ControllerContext 
Dim parameterDescriptor As ParameterDescriptor 
Dim returnValue As Object 

returnValue = Me.GetParameterValue(controllerContext, _
	parameterDescriptor)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
parameterDescriptor
Type: System.Web.Mvc.ParameterDescriptor
The parameter descriptor.

Return Value

Type: System.Object
The value of the action-method parameter.
Show: