Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VirtualPathData.DataTokens Property

Gets the collection of custom values for the route definition.

Namespace:  System.Web.Routing
Assembly:  System.Web.Routing (in System.Web.Routing.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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.