RedirectToRouteResult Constructor (String, RouteValueDictionary)

Initializes a new instance of the RedirectToRouteResult class by using the specified route name and route values.

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

new : 
        routeName:string * 
        routeValues:RouteValueDictionary -> RedirectToRouteResult

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Web.Routing.RouteValueDictionary

The route values.

Show: