PageModel.RedirectToPage Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
RedirectToPage() |
Redirige (Status302Found) vers la page active. |
RedirectToPage(Object) |
Redirige (Status302Found) vers la page active avec le spécifié |
RedirectToPage(String) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage(String, Object) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage(String, String) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage(String, String, Object) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage(String, String, String) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage(String, String, Object, String) |
Redirige (Status302Found) vers le spécifié |
RedirectToPage()
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers la page active.
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
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(Object)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers la page active avec le spécifié 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
Paramètres
- routeValues
- Object
Paramètres d'un itinéraire.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié 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
Paramètres
- pageName
- String
Nom de la page.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String, Object)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié pageName
à l’aide du spécifié 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
Paramètres
- pageName
- String
Nom de la page.
- routeValues
- Object
Paramètres d'un itinéraire.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String, String)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié pageName
à l’aide du spécifié 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
Paramètres
- pageName
- String
Nom de la page.
- pageHandler
- String
Gestionnaire de pages vers laquelle effectuer la redirection.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String, String, Object)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié pageName
à l’aide des spécifiés pageHandler
et routeValues
.
public:
virtual Microsoft::AspNetCore::Mvc::RedirectToPageResult ^ RedirectToPage(System::String ^ pageName, System::String ^ pageHandler, System::Object ^ routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string pageName, string pageHandler, object routeValues);
public virtual Microsoft.AspNetCore.Mvc.RedirectToPageResult RedirectToPage (string? pageName, string? pageHandler, object? routeValues);
abstract member RedirectToPage : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
override this.RedirectToPage : string * string * obj -> Microsoft.AspNetCore.Mvc.RedirectToPageResult
Public Overridable Function RedirectToPage (pageName As String, pageHandler As String, routeValues As Object) As RedirectToPageResult
Paramètres
- pageName
- String
Nom de la page.
- pageHandler
- String
Gestionnaire de pages vers laquelle effectuer la redirection.
- routeValues
- Object
Paramètres d'un itinéraire.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String, String, String)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié pageName
à l’aide du spécifié 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
Paramètres
- pageName
- String
Nom de la page.
- pageHandler
- String
Gestionnaire de pages vers laquelle effectuer la redirection.
- fragment
- String
Fragment à ajouter à l’URL.
Retours
L’RedirectToPageResultopérateur
S’applique à
RedirectToPage(String, String, Object, String)
- Source:
- PageModel.cs
- Source:
- PageModel.cs
- Source:
- PageModel.cs
Redirige (Status302Found) vers le spécifié pageName
à l’aide des spécifiés routeValues
et 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
Paramètres
- pageName
- String
Nom de la page.
- pageHandler
- String
Gestionnaire de pages vers laquelle effectuer la redirection.
- routeValues
- Object
Paramètres d'un itinéraire.
- fragment
- String
Fragment à ajouter à l’URL.
Retours
L’RedirectToPageResultopérateur