共用方式為


RouteData(Type, IReadOnlyDictionary<String,Object>) 建構函式

定義

建構 的 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))

參數

pageType
Type

符合路由的頁面類型,必須實 IComponent 作 。

routeValues
IReadOnlyDictionary<String,Object>

從相符路由擷取的路由參數值。

適用於