LinkBuilder.BuildParameterValuesFromExpression Method (MethodCallExpression)
Creates a querystring as a Dictionary based on the passed-in Lambda.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static RouteValueDictionary BuildParameterValuesFromExpression(
MethodCallExpression call
)
public:
static RouteValueDictionary^ BuildParameterValuesFromExpression(
MethodCallExpression^ call
)
static member BuildParameterValuesFromExpression :
call:MethodCallExpression -> RouteValueDictionary
Public Shared Function BuildParameterValuesFromExpression (
call As MethodCallExpression
) As RouteValueDictionary
Parameters
call
Type: System.Linq.Expressions.MethodCallExpressionThe Lambda of the Controller method.
Return Value
Type: System.Web.Routing.RouteValueDictionary
The created RouteValueDictionary.
See Also
LinkBuilder Class
Microsoft.Web.Mvc Namespace
Return to top