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
'Usage
Dim instance As ValidationRuleFindText 
Dim value As Boolean 

value = instance.UseRegularExpression

instance.UseRegularExpression = value
public bool UseRegularExpression { get; set; }
public:
property bool UseRegularExpression {
    bool get ();
    void set (bool value);
}
public function get UseRegularExpression () : boolean 
public function set UseRegularExpression (value : boolean)

Property Value

Type: System.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

ValidationRuleFindText Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace