RoutePrefixAttribute Constructor
Initializes a new instance of the RoutePrefixAttribute class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | RoutePrefixAttribute() | Initializes a new instance of the RoutePrefixAttribute class. |
![]() | RoutePrefixAttribute(String^) | Initializes a new instance of the RoutePrefixAttribute class with the specified prefix. |
RoutePrefixAttribute Constructor ()
Initializes a new instance of the RoutePrefixAttribute class.
RoutePrefixAttribute Constructor (String^)
Initializes a new instance of the RoutePrefixAttribute class with the specified prefix.
Parameters
- prefix
-
Type:
System::String^
The route prefix for the controller.
Show:

