RoutePrefixAttribute Constructor
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
RoutePrefixAttribute() | Initializes a new instance of the RoutePrefixAttribute class. |
|
RoutePrefixAttribute(String) | Initializes a new instance of the RoutePrefixAttribute class. |
See Also
RoutePrefixAttribute Class
System.Web.Http Namespace
Return to top
RoutePrefixAttribute Constructor ()
Initializes a new instance of the RoutePrefixAttribute class.
Syntax
protected RoutePrefixAttribute()
protected:
RoutePrefixAttribute()
new : unit -> RoutePrefixAttribute
Protected Sub New
Return to top
RoutePrefixAttribute Constructor (String)
Initializes a new instance of the RoutePrefixAttribute class.
Syntax
public RoutePrefixAttribute(
string prefix
)
public:
RoutePrefixAttribute(
String^ prefix
)
new :
prefix:string -> RoutePrefixAttribute
Public Sub New (
prefix As String
)
Parameters
prefix
Type: System.StringThe route prefix for the controller.
Return to top