แก้ไข

แชร์ผ่าน


RouteData Class

Definition

Encapsulates information about a route.

public ref class RouteData
public class RouteData
type RouteData = class
Public Class RouteData
Inheritance
RouteData

Remarks

The RouteData class contains the values for a requested route. Typically, you retrieve a RouteData object by calling the GetRouteData method.

Constructors

RouteData()

Initializes a new instance of the RouteData class.

RouteData(RouteBase, IRouteHandler)

Initializes a new instance of the RouteData class by using the specified route and route handler.

Properties

DataTokens

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.

Route

Gets or sets the object that represents a route.

RouteHandler

Gets or sets the object that processes a requested route.

Values

Gets a collection of URL parameter values and default values for the route.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRequiredString(String)

Retrieves the value with the specified identifier.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also