共用方式為


RouteData.RouteDataSnapshot 建構函式

定義

為 建立 的新實例 RouteData.RouteDataSnapshotrouteData

public:
 RouteDataSnapshot(Microsoft::AspNetCore::Routing::RouteData ^ routeData, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ dataTokens, System::Collections::Generic::IList<Microsoft::AspNetCore::Routing::IRouter ^> ^ routers, Microsoft::AspNetCore::Routing::RouteValueDictionary ^ values);
public RouteDataSnapshot (Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Routing.RouteValueDictionary dataTokens, System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter> routers, Microsoft.AspNetCore.Routing.RouteValueDictionary values);
public RouteDataSnapshot (Microsoft.AspNetCore.Routing.RouteData routeData, Microsoft.AspNetCore.Routing.RouteValueDictionary? dataTokens, System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter>? routers, Microsoft.AspNetCore.Routing.RouteValueDictionary? values);
new Microsoft.AspNetCore.Routing.RouteData.RouteDataSnapshot : Microsoft.AspNetCore.Routing.RouteData * Microsoft.AspNetCore.Routing.RouteValueDictionary * System.Collections.Generic.IList<Microsoft.AspNetCore.Routing.IRouter> * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Routing.RouteData.RouteDataSnapshot
Public Sub New (routeData As RouteData, dataTokens As RouteValueDictionary, routers As IList(Of IRouter), values As RouteValueDictionary)

參數

routeData
RouteData

RouteData

dataTokens
RouteValueDictionary

資料語彙基元。

routers
IList<IRouter>

路由器。

values
RouteValueDictionary

路徑值。

適用於