Share via


RedirectResult.Permanent Property

Gets a value that indicates whether the redirection should be permanent.

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

Syntax

'Declaration
Public Property Permanent As Boolean 
    Get 
    Private Set
'Usage
Dim instance As RedirectResult 
Dim value As Boolean 

value = instance.Permanent
public bool Permanent { get; private set; }
public:
property bool Permanent {
    bool get ();
    private: void set (bool value);
}
member Permanent : bool with get, private set
function get Permanent () : boolean 
private function set Permanent (value : boolean)

Property Value

Type: System.Boolean
true if the redirection should be permanent; otherwise, false.

See Also

Reference

RedirectResult Class

System.Web.Mvc Namespace