RouteAttribute Constructor
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
RouteAttribute() | Initializes a new instance of the RouteAttribute class. |
|
RouteAttribute(String) | Initializes a new instance of the RouteAttribute class. |
See Also
RouteAttribute Class
System.Web.Http Namespace
Return to top
RouteAttribute Constructor ()
Initializes a new instance of the RouteAttribute class.
Syntax
public RouteAttribute()
public:
RouteAttribute()
new : unit -> RouteAttribute
Public Sub New
Return to top
RouteAttribute Constructor (String)
Initializes a new instance of the RouteAttribute class.
Syntax
public RouteAttribute(
string template
)
public:
RouteAttribute(
String^ template
)
new :
template:string -> RouteAttribute
Public Sub New (
template As String
)
Parameters
template
Type: System.StringThe route template describing the URI pattern to match against.
Return to top