Share via


StringRouteConstraint(String) Constructor

Definition

Initializes a new instance of the StringRouteConstraint class.

public:
 StringRouteConstraint(System::String ^ value);
public StringRouteConstraint (string value);
new Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint : string -> Microsoft.AspNetCore.Routing.Constraints.StringRouteConstraint
Public Sub New (value As String)

Parameters

value
String

The constraint value to match.

Applies to