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)
public:
RedirectToRouteResult(
String^ routeName,
RouteValueDictionary^ routeValues
)
Parameters
- routeName
- Type: System::String
The name of the route.
- routeValues
- Type: System.Web.Routing::RouteValueDictionary
The route values.
Show: