RegexRouteConstraint(String) Constructor

Definition

Initializes a new instance of the RegexRouteConstraint class with the specified pattern.

public RegexRouteConstraint (string pattern);
new System.Web.Mvc.Routing.Constraints.RegexRouteConstraint : string -> System.Web.Mvc.Routing.Constraints.RegexRouteConstraint
Public Sub New (pattern As String)

Parameters

pattern
String

The pattern to match.

Applies to