Export (0) Print
Expand All

AlphaRouteConstraint Class

Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet.

System.Object
  System.Web.Mvc.Routing.Constraints.RegexRouteConstraint
    System.Web.Mvc.Routing.Constraints.AlphaRouteConstraint

Namespace:  System.Web.Mvc.Routing.Constraints
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class AlphaRouteConstraint : RegexRouteConstraint

The AlphaRouteConstraint type exposes the following members.

  NameDescription
Public methodAlphaRouteConstraintInitializes a new instance of the AlphaRouteConstraint class.
Top

  NameDescription
Public propertyPatternGets the regular expression pattern to match. (Inherited from RegexRouteConstraint.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMatchDetermines whether this instance equals a specified route. (Inherited from RegexRouteConstraint.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft