RouteData.RouteDataSnapshot 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為 建立 的新實例 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)
參數
- dataTokens
- RouteValueDictionary
資料語彙基元。
- values
- RouteValueDictionary
路徑值。