Share via


RegexRouteConstraint.Pattern Property

 

Gets the regular expression pattern to match.

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

Syntax

public string Pattern { get; private set; }
public:
property String^ Pattern {
    String^ get();
    private: void set(String^ value);
}
member Pattern : string with get, private set
Public Property Pattern As String
    Get
    Private Set
End Property

Property Value

Type: System.String

The regular expression pattern to match.

See Also

RegexRouteConstraint Class
System.Web.Mvc.Routing.Constraints Namespace

Return to top