RouteAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RouteAttribute() |
Initializes a new instance of the RouteAttribute class. |
RouteAttribute(String) |
Initializes a new instance of the RouteAttribute class with the specified template. |
RouteAttribute()
Initializes a new instance of the RouteAttribute class.
public RouteAttribute ();
Public Sub New ()
Applies to
RouteAttribute(String)
Initializes a new instance of the RouteAttribute class with the specified template.
public RouteAttribute (string template);
new System.Web.Mvc.RouteAttribute : string -> System.Web.Mvc.RouteAttribute
Public Sub New (template As String)
Parameters
- template
- String
The pattern of the route to match.