Share via


ValidationRuleFindText.UseRegularExpression Property

Gets or sets a value that indicates whether FindText is a regular expression.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property UseRegularExpression As Boolean
public bool UseRegularExpression { get; set; }
public:
property bool UseRegularExpression {
    bool get ();
    void set (bool value);
}
member UseRegularExpression : bool with get, set
function get UseRegularExpression () : boolean 
function set UseRegularExpression (value : boolean)

Property Value

Type: Boolean
true if the search string is a regular expression; otherwise, false. The default value is false.

.NET Framework Security

See Also

Reference

ValidationRuleFindText Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace