Share via


RegexRouteConstraint.Pattern Property

 

Gets the regular expression pattern to match.

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

Syntax

public string Pattern {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property String^ Pattern {
    [CompilerGeneratedAttribute]
    String^ get();
    [CompilerGeneratedAttribute]
    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.Http.Routing.Constraints Namespace

Return to top