AlphaRouteConstraint Class
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.
Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.
public class AlphaRouteConstraint : System.Web.Mvc.Routing.Constraints.RegexRouteConstraint
type AlphaRouteConstraint = class
inherit RegexRouteConstraint
Public Class AlphaRouteConstraint
Inherits RegexRouteConstraint
- Inheritance
Constructors
| Name | Description |
|---|---|
| AlphaRouteConstraint() |
Initializes a new instance of the AlphaRouteConstraint class. |
Properties
| Name | Description |
|---|---|
| Pattern |
Gets the regular expression pattern to match. (Inherited from RegexRouteConstraint) |
Methods
| Name | Description |
|---|---|
| Match(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection) |
Determines whether this instance equals a specified route. (Inherited from RegexRouteConstraint) |