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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.