RouteAttribute Constructor

 

Initializes a new instance of the RouteAttribute class.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_pubmethodRouteAttribute()

Initializes a new instance of the RouteAttribute class.

System_CAPS_pubmethodRouteAttribute(String)

Initializes a new instance of the RouteAttribute class with the specified template.

Return to top

RouteAttribute Constructor ()

Initializes a new instance of the RouteAttribute class.

new : unit -> RouteAttribute
Return to top

RouteAttribute Constructor (String)

Initializes a new instance of the RouteAttribute class with the specified template.

new : 
        template:string -> RouteAttribute

Parameters

template
Type: System.String

The pattern of the route to match.

Return to top
Show: