Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
RedirectToRoutePermanent(Object) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values. |
RedirectToRoutePermanent(String) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name. |
RedirectToRoutePermanent(RouteValueDictionary) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route values. |
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) |
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values. |
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
The route name.
Returns an instance of the RedirectResult class with the Permanent property set to true.
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
The route name.
Returns an instance of the RedirectResult class with the Permanent property set to true using the specified route name.
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
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified route values.
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
The route name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true using the specified route name and route values.
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
The route name.
The route values.
An instance of the RedirectResult class with the Permanent property set to true.
Please sign in to use this experience.
Sign in