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)

'Declaration
Public Sub New ( _
	routeName As String, _
	routeValues As RouteValueDictionary _
)
'Usage
Dim routeName As String 
Dim routeValues As RouteValueDictionary 

Dim instance As New RedirectToRouteResult(routeName, _
	routeValues)

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Web.Routing.RouteValueDictionary

The route values.

Show: