อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


VirtualPathData.DataTokens Property

Definition

Gets the collection of custom values for the route definition.

C#
public System.Web.Routing.RouteValueDictionary DataTokens { get; }

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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also