TreeRouteBuilder.MapOutbound 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.
Ajoute une nouvelle route sortante à .TreeRouter
public:
Microsoft::AspNetCore::Routing::Tree::OutboundRouteEntry ^ MapOutbound(Microsoft::AspNetCore::Routing::IRouter ^ handler, Microsoft::AspNetCore::Routing::Template::RouteTemplate ^ routeTemplate, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ requiredLinkValues, System::String ^ routeName, int order);
public Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry MapOutbound (Microsoft.AspNetCore.Routing.IRouter handler, Microsoft.AspNetCore.Routing.Template.RouteTemplate routeTemplate, Microsoft.AspNetCore.Routing.RouteValueDictionary requiredLinkValues, string routeName, int order);
member this.MapOutbound : Microsoft.AspNetCore.Routing.IRouter * Microsoft.AspNetCore.Routing.Template.RouteTemplate * Microsoft.AspNetCore.Routing.RouteValueDictionary * string * int -> Microsoft.AspNetCore.Routing.Tree.OutboundRouteEntry
Public Function MapOutbound (handler As IRouter, routeTemplate As RouteTemplate, requiredLinkValues As RouteValueDictionary, routeName As String, order As Integer) As OutboundRouteEntry
Paramètres
- routeTemplate
- RouteTemplate
de RouteTemplate l’itinéraire.
- requiredLinkValues
- RouteValueDictionary
RouteValueDictionary contenant les valeurs de route.
- routeName
- String
Nom de l'itinéraire.
- order
- Int32
Ordre de l'itinéraire.
Retours
L’OutboundRouteEntryopérateur