RouteAttribute Constructors

Definition

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.

Applies to