VirtualPathData.DataTokens Property

 

Gets the collection of custom values for the route definition.

Namespace:   System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

public RouteValueDictionary DataTokens { get; }

Property Value

Type: System.Web.Routing.RouteValueDictionary

A collection of custom values for a route.

You use the DataTokens property to retrieve values that are associated with the route, but that are not used to determine whether a route matches a URL pattern. These values can be used by the route handler to process the request.

.NET Framework
Available since 3.5
Return to top
Show: