PageModel.RedirectToPagePermanent PageModel.RedirectToPagePermanent PageModel.RedirectToPagePermanent PageModel.RedirectToPagePermanent Method

Definition

Overloads

RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues and fragment.

RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

RedirectToPagePermanent(String) RedirectToPagePermanent(String) RedirectToPagePermanent(String) RedirectToPagePermanent(String)

Redirects (Status301MovedPermanently) to the specified pageName.

RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String)

Redirects (Status301MovedPermanently) to the specified pageName.

RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String) RedirectToPagePermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues and fragment.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler, object routeValues, string fragment);
abstract member RedirectToPagePermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String, routeValues As Object, fragment As String) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

pageHandler
String String String String

The page handler to redirect to.

routeValues
Object Object Object Object

The parameters for a route.

fragment
String String String String

The fragment to add to the URL.

Returns

RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object) RedirectToPagePermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler, object routeValues);
abstract member RedirectToPagePermanent : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String, routeValues As Object) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

pageHandler
String String String String

The page handler to redirect to.

routeValues
Object Object Object Object

The parameters for a route.

Returns

RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String) RedirectToPagePermanent(String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::Object ^ routeValues, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, object routeValues, string fragment);
abstract member RedirectToPagePermanent : string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, routeValues As Object, fragment As String) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

routeValues
Object Object Object Object

The parameters for a route.

fragment
String String String String

The fragment to add to the URL.

Returns

RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String) RedirectToPagePermanent(String, String, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler, string fragment);
abstract member RedirectToPagePermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String, fragment As String) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

pageHandler
String String String String

The page handler to redirect to.

fragment
String String String String

The fragment to add to the URL.

Returns

RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object) RedirectToPagePermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, object routeValues);
abstract member RedirectToPagePermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, routeValues As Object) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

routeValues
Object Object Object Object

The parameters for a route.

Returns

RedirectToPagePermanent(String) RedirectToPagePermanent(String) RedirectToPagePermanent(String) RedirectToPagePermanent(String)

Redirects (Status301MovedPermanently) to the specified pageName.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName);
abstract member RedirectToPagePermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

Returns

RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String) RedirectToPagePermanent(String, String)

Redirects (Status301MovedPermanently) to the specified pageName.

public:
 virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPagePermanent(System::String ^ pageName, System::String ^ pageHandler);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPagePermanent (string pageName, string pageHandler);
abstract member RedirectToPagePermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPagePermanent : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPagePermanent (pageName As String, pageHandler As String) As RedirectToPageResult

Parameters

pageName
String String String String

The name of the page.

pageHandler
String String String String

The page handler to redirect to.

Returns

Applies to