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

public bool Permanent { get; private set; }

Property Value

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

See Also

Reference

RedirectResult Class

System.Web.Mvc Namespace