Controller.RedirectPermanent(String) Controller.RedirectPermanent(String) Controller.RedirectPermanent(String) Method

Definition

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

protected internal virtual System.Web.Mvc.RedirectResult RedirectPermanent (string url);
abstract member RedirectPermanent : string -> System.Web.Mvc.RedirectResult
override this.RedirectPermanent : string -> System.Web.Mvc.RedirectResult
Protected Friend Overridable Function RedirectPermanent (url As String) As RedirectResult
Parameters
url
String String String

The URL to redirect to.

Returns

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

Applies to