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)

Syntax

'Declaration
Public Sub New ( _
    routeName As String, _
    routeValues As RouteValueDictionary _
)
public RedirectToRouteResult(
    string routeName,
    RouteValueDictionary routeValues
)
public:
RedirectToRouteResult(
    String^ routeName, 
    RouteValueDictionary^ routeValues
)

Parameters

See Also

Reference

RedirectToRouteResult Class

RedirectToRouteResult Overload

System.Web.Mvc Namespace