RouteAttribute Constructor
Initializes a new instance of the RouteAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | RouteAttribute() | Initializes a new instance of the RouteAttribute class. |
![]() | RouteAttribute(String) | Initializes a new instance of the RouteAttribute class with the specified template. |
RouteAttribute Constructor (String)
Initializes a new instance of the RouteAttribute class with the specified template.
Parameters
- template
-
Type:
System.String
The pattern of the route to match.
Show:
