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)

Syntax

protected internal virtual RedirectResult RedirectPermanent(
    string url
)
public protected:
virtual RedirectResult^ RedirectPermanent(
    String^ url
)
abstract RedirectPermanent : 
        url:string -> RedirectResult
override RedirectPermanent : 
        url:string -> RedirectResult
Protected Friend Overridable Function RedirectPermanent (
    url As String
) As RedirectResult

Parameters

Return Value

Type: System.Web.Mvc.RedirectResult

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

See Also

Controller Class
System.Web.Mvc Namespace

Return to top