PageModel.RedirectPermanentPreserveMethod(String) PageModel.RedirectPermanentPreserveMethod(String) PageModel.RedirectPermanentPreserveMethod(String) Method

Definition

Creates a RedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified url.

public virtual Microsoft.AspNetCore.Mvc.RedirectResult RedirectPermanentPreserveMethod (string url);
abstract member RedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
override this.RedirectPermanentPreserveMethod : string -> Microsoft.AspNetCore.Mvc.RedirectResult
Public Overridable Function RedirectPermanentPreserveMethod (url As String) As RedirectResult

Parameters

url
String String String

The URL to redirect to.

Returns

Applies to