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)

Protected Friend Overridable Function RedirectPermanent (
	url As String
) As RedirectResult

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: