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)

public protected:
virtual RedirectResult^ RedirectPermanent(
	String^ url
)

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: