ControllerActionInvoker.GetParameterValue Method

Visual Studio 2010

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

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.

Community Additions

ADD
Show: