Condividi tramite


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

Definizione

Costruisce un'istanza di 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))

Parametri

pageType
Type

Tipo della pagina corrispondente alla route, che deve implementare IComponent.

routeValues
IReadOnlyDictionary<String,Object>

Valori dei parametri di route estratti dalla route corrispondente.

Si applica a