Serves as the base class for all classes that represent an ASP.NET route.
Assembly: System.Web (in System.Web.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetRouteData||When overridden in a derived class, returns route information about the request.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|GetVirtualPath||When overridden in a derived class, checks whether the route matches the specified values, and if so, generates a URL and retrieves information about the route.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class enables you to create customized classes for defining routes in your application. Typically, you will use the Route class when you define routes. The Route class derives from the class. However, if you want to provide different functionality than what is provided by the Route class, you create a class that derives from and implement the properties and methods that you need.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.