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)
Syntax
'Declaration
Protected Overridable Function GetParameterValue ( _
controllerContext As ControllerContext, _
parameterDescriptor As ParameterDescriptor _
) As Object
protected virtual Object GetParameterValue(
ControllerContext controllerContext,
ParameterDescriptor parameterDescriptor
)
protected:
virtual Object^ GetParameterValue(
ControllerContext^ controllerContext,
ParameterDescriptor^ 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.