AlphaRouteConstraint Class

 

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

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

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

public class AlphaRouteConstraint : RegexRouteConstraint

NameDescription
System_CAPS_pubmethodAlphaRouteConstraint()

Initializes a new instance of the AlphaRouteConstraint class.

NameDescription
System_CAPS_pubpropertyPattern

Gets the regular expression pattern to match.(Inherited from RegexRouteConstraint.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(HttpContextBase, Route, String, RouteValueDictionary, RouteDirection)

Determines whether this instance equals a specified route.(Inherited from RegexRouteConstraint.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: