Controller.RedirectPermanent Method (String)

 

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

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

No code example is currently available or this language may not be supported.

Parameters

url
Type: System.String

The URL to redirect to.

Return Value

Type: System.Web.Mvc.RedirectResult

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

Return to top
Show: