RouteData.DataTokens RouteData.DataTokens RouteData.DataTokens RouteData.DataTokens Property

Definition

Gets a collection of custom values that are passed to the route handler but are not used when ASP.NET routing determines whether the route matches a request.

public:
 property System::Web::Routing::RouteValueDictionary ^ DataTokens { System::Web::Routing::RouteValueDictionary ^ get(); };
public System.Web.Routing.RouteValueDictionary DataTokens { get; }
member this.DataTokens : System.Web.Routing.RouteValueDictionary
Public ReadOnly Property DataTokens As RouteValueDictionary

Property Value

Remarks

You use the DataTokens property to retrieve values associated with the route that are not used when ASP.NET routing determines whether a route matches a request. A custom route handler might have to retrieve these values when it is processing the request.

Applies to

See also