Partager via


RouteData(Type, IReadOnlyDictionary<String,Object>) Constructeur

Définition

Construit un instance de RouteData.

public:
 RouteData(Type ^ pageType, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ routeValues);
public RouteData (Type pageType, System.Collections.Generic.IReadOnlyDictionary<string,object> routeValues);
public RouteData (Type pageType, System.Collections.Generic.IReadOnlyDictionary<string,object?> routeValues);
new Microsoft.AspNetCore.Components.RouteData : Type * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Components.RouteData
Public Sub New (pageType As Type, routeValues As IReadOnlyDictionary(Of String, Object))

Paramètres

pageType
Type

Type de la page correspondant à l’itinéraire, qui doit implémenter IComponent.

routeValues
IReadOnlyDictionary<String,Object>

Valeurs de paramètre de route extraites de l’itinéraire correspondant.

S’applique à