Redigera

Dela via


VirtualPathData.DataTokens Property

Definition

Gets the collection of custom values for the route definition.

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

A collection of custom values for a route.

Remarks

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.

Applies to

See also