Provides properties and methods for defining how a URL maps to a physical file.
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 the default hash function. (Inherited from Object.)|
|GetHttpHandler||Returns the object that processes the request.|
|GetSubstitutedVirtualPath||Returns the virtual path of the physical file for the route after substitutions have been applied to any replacement parameters.|
|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.)|
You pass an instance of to the Route constructor in order to map a URL of a physical file. The object specifies the virtual path of the physical file and determines whether authorization rules for the physical URL is checked.