Controller.RedirectToRoutePermanent Controller.RedirectToRoutePermanent Controller.RedirectToRoutePermanent Method

Definition

Overloads

RedirectToRoutePermanent(Object) RedirectToRoutePermanent(Object) RedirectToRoutePermanent(Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

RedirectToRoutePermanent(String) RedirectToRoutePermanent(String) RedirectToRoutePermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.

RedirectToRoutePermanent(RouteValueDictionary) RedirectToRoutePermanent(RouteValueDictionary) RedirectToRoutePermanent(RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

RedirectToRoutePermanent(String, Object) RedirectToRoutePermanent(String, Object) RedirectToRoutePermanent(String, Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

RedirectToRoutePermanent(String, RouteValueDictionary) RedirectToRoutePermanent(String, RouteValueDictionary) RedirectToRoutePermanent(String, RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

RedirectToRoutePermanent(Object) RedirectToRoutePermanent(Object) RedirectToRoutePermanent(Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

protected internal System.Web.Mvc.RedirectToRouteResult RedirectToRoutePermanent (object routeValues);
member this.RedirectToRoutePermanent : obj -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToRoutePermanent (routeValues As Object) As RedirectToRouteResult
Parameters
routeValues
Object Object Object

The route name.

Returns

Returns an instance of the RedirectResult class with the Permanent property set to true.

RedirectToRoutePermanent(String) RedirectToRoutePermanent(String) RedirectToRoutePermanent(String)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.

protected internal System.Web.Mvc.RedirectToRouteResult RedirectToRoutePermanent (string routeName);
member this.RedirectToRoutePermanent : string -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToRoutePermanent (routeName As String) As RedirectToRouteResult
Parameters
routeName
String String String

The route name.

Returns

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.

RedirectToRoutePermanent(RouteValueDictionary) RedirectToRoutePermanent(RouteValueDictionary) RedirectToRoutePermanent(RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values.

protected internal System.Web.Mvc.RedirectToRouteResult RedirectToRoutePermanent (System.Web.Routing.RouteValueDictionary routeValues);
member this.RedirectToRoutePermanent : System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToRoutePermanent (routeValues As RouteValueDictionary) As RedirectToRouteResult
Parameters
Returns

An instance of the RedirectResult class with the Permanent property set to true using the specified route values.

RedirectToRoutePermanent(String, Object) RedirectToRoutePermanent(String, Object) RedirectToRoutePermanent(String, Object)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

protected internal System.Web.Mvc.RedirectToRouteResult RedirectToRoutePermanent (string routeName, object routeValues);
member this.RedirectToRoutePermanent : string * obj -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Function RedirectToRoutePermanent (routeName As String, routeValues As Object) As RedirectToRouteResult
Parameters
routeName
String String String

The route name.

routeValues
Object Object Object

The route values.

Returns

An instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

RedirectToRoutePermanent(String, RouteValueDictionary) RedirectToRoutePermanent(String, RouteValueDictionary) RedirectToRoutePermanent(String, RouteValueDictionary)

Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.

protected internal virtual System.Web.Mvc.RedirectToRouteResult RedirectToRoutePermanent (string routeName, System.Web.Routing.RouteValueDictionary routeValues);
abstract member RedirectToRoutePermanent : string * System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
override this.RedirectToRoutePermanent : string * System.Web.Routing.RouteValueDictionary -> System.Web.Mvc.RedirectToRouteResult
Protected Friend Overridable Function RedirectToRoutePermanent (routeName As String, routeValues As RouteValueDictionary) As RedirectToRouteResult
Parameters
routeName
String String String

The route name.

Returns

An instance of the RedirectResult class with the Permanent property set to true.

Applies to