RouteAttribute.Template Property

 

Gets the pattern for the route to match.

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

public string Template { get; private set; }

Property Value

Type: System.String

The pattern to match.

Return to top
Show: