RegexRouteConstraint Class

 

Constrains a route parameter to match a regular expression.

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

System::Object
  System.Web.Http.Routing.Constraints::RegexRouteConstraint
    System.Web.Http.Routing.Constraints::AlphaRouteConstraint

public ref class RegexRouteConstraint : IHttpRouteConstraint

NameDescription
System_CAPS_pubmethodRegexRouteConstraint(String^)

Initializes a new instance of the RegexRouteConstraint class.

NameDescription
System_CAPS_pubpropertyPattern

Gets the regular expression pattern to match.

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(HttpRequestMessage^, IHttpRoute^, String^, IDictionary<String^, Object^>^, HttpRouteDirection)

Determines whether this instance equals a specified route.

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: