Export (0) Print
Expand All

Controller::RedirectPermanent Method

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 public:
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.
Show:
© 2014 Microsoft