RegexRouteConstraint Constructor (String)
Initializes a new instance of the RegexRouteConstraint class.
Namespace: System.Web.Http.Routing.Constraints
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public RegexRouteConstraint(
string pattern
)
public:
RegexRouteConstraint(
String^ pattern
)
new :
pattern:string -> RegexRouteConstraint
Public Sub New (
pattern As String
)
Parameters
pattern
Type: System.StringThe pattern.
See Also
RegexRouteConstraint Class
System.Web.Http.Routing.Constraints Namespace
Return to top