PageBase.RedirectToPage Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
RedirectToPage() |
Redirige (Status302Found) a la página actual. |
RedirectToPage(Object) |
Redirige (Status302Found) a la página actual con el especificado |
RedirectToPage(String) |
Redirige (Status302Found) al especificado |
RedirectToPage(String, Object) |
Redirige (Status302Found) al especificado |
RedirectToPage(String, String) |
Redirige (Status302Found) al especificado |
RedirectToPage(String, String, String) |
Redirige (Status302Found) al especificado |
RedirectToPage(String, String, Object, String) |
Redirige (Status302Found) al especificado |
RedirectToPage()
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) a la página actual.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage();
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage ();
abstract member RedirectToPage : unit -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : unit -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage () As RedirectToPageResult
Devoluciones
Se aplica a
RedirectToPage(Object)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) a la página actual con el especificado routeValues
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (object routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (object? routeValues);
abstract member RedirectToPage : obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (routeValues As Object) As RedirectToPageResult
Parámetros
- routeValues
- Object
Parámetros de una ruta.
Devoluciones
Se aplica a
RedirectToPage(String)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) al especificado pageName
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName);
abstract member RedirectToPage : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String) As RedirectToPageResult
Parámetros
- pageName
- String
Nombre de la página.
Devoluciones
Se aplica a
RedirectToPage(String, Object)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) al especificado pageName
mediante el especificado routeValues
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, object routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, object? routeValues);
abstract member RedirectToPage : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String, routeValues As Object) As RedirectToPageResult
Parámetros
- pageName
- String
Nombre de la página.
- routeValues
- Object
Parámetros de una ruta.
Devoluciones
Se aplica a
RedirectToPage(String, String)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) al especificado pageName
mediante el especificado pageHandler
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler);
abstract member RedirectToPage : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String, pageHandler As String) As RedirectToPageResult
Parámetros
- pageName
- String
Nombre de la página.
- pageHandler
- String
Controlador de página al que se va a redirigir.
Devoluciones
Se aplica a
RedirectToPage(String, String, String)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) al especificado pageName
mediante el especificado fragment
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler, string fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler, string? fragment);
abstract member RedirectToPage : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string * string * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String, pageHandler As String, fragment As String) As RedirectToPageResult
Parámetros
- pageName
- String
Nombre de la página.
- pageHandler
- String
Controlador de página al que se va a redirigir.
- fragment
- String
Fragmento que se va a agregar a la dirección URL.
Devoluciones
Se aplica a
RedirectToPage(String, String, Object, String)
- Source:
- PageBase.cs
- Source:
- PageBase.cs
- Source:
- PageBase.cs
Redirige (Status302Found) al especificado pageName
mediante el especificado routeValues
y fragment
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues, System::String ^ fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler, object routeValues, string fragment);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler, object? routeValues, string? fragment);
abstract member RedirectToPage : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string * string * obj * string -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String, pageHandler As String, routeValues As Object, fragment As String) As RedirectToPageResult
Parámetros
- pageName
- String
Nombre de la página.
- pageHandler
- String
Controlador de página al que se va a redirigir.
- routeValues
- Object
Parámetros de una ruta.
- fragment
- String
Fragmento que se va a agregar a la dirección URL.