RegexRouteConstraint.Constraint 属性

定义

获取路由约束中使用的正则表达式。

public:
 property System::Text::RegularExpressions::Regex ^ Constraint { System::Text::RegularExpressions::Regex ^ get(); };
public System.Text.RegularExpressions.Regex Constraint { get; }
member this.Constraint : System.Text.RegularExpressions.Regex
Public ReadOnly Property Constraint As Regex

属性值

适用于