RoutePrefixAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RoutePrefixAttribute() |
Initializes a new instance of the RoutePrefixAttribute class. |
RoutePrefixAttribute(String) |
Initializes a new instance of the RoutePrefixAttribute class with the specified prefix. |
RoutePrefixAttribute()
Initializes a new instance of the RoutePrefixAttribute class.
protected RoutePrefixAttribute ();
Protected Sub New ()
Applies to
RoutePrefixAttribute(String)
Initializes a new instance of the RoutePrefixAttribute class with the specified prefix.
public RoutePrefixAttribute (string prefix);
new System.Web.Mvc.RoutePrefixAttribute : string -> System.Web.Mvc.RoutePrefixAttribute
Public Sub New (prefix As String)
Parameters
- prefix
- String
The route prefix for the controller.