RouteData RouteData RouteData RouteData Class

Definition

Encapsulates information about a route.

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

Remarks

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

Constructors

RouteData() RouteData() RouteData() RouteData()

Initializes a new instance of the RouteData class.

RouteData(RouteBase, IRouteHandler) RouteData(RouteBase, IRouteHandler) RouteData(RouteBase, IRouteHandler) RouteData(RouteBase, IRouteHandler)

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

Properties

DataTokens DataTokens DataTokens 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 Route Route Route

Gets or sets the object that represents a route.

RouteHandler RouteHandler RouteHandler RouteHandler

Gets or sets the object that processes a requested route.

Values Values Values Values

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetRequiredString(String) GetRequiredString(String) GetRequiredString(String) GetRequiredString(String)

Retrieves the value with the specified identifier.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to