ControllerActionInvoker.GetParameterValue Method (ControllerContext, ParameterDescriptor)

 

Gets the value of the specified action-method parameter.

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

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.

Return to top
Show: