RedirectToRouteResult Constructor (String, RouteValueDictionary, Boolean)

Initializes a new instance of the RedirectToRouteResult class by using the specified route name, route values, and permanent-redirection flag.

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

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

Dim instance As New RedirectToRouteResult(routeName, _
	routeValues, permanent)

Parameters

routeName
Type: System.String

The name of the route.

routeValues
Type: System.Web.Routing.RouteValueDictionary

The route values.

permanent
Type: System.Boolean

A value that indicates whether the redirection should be permanent.

Show: