Dela via


StringComparisonRule.UseRegularExpression Property

Gets or sets a Boolean value to indicate whether to use regular expressions.

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: System.Boolean
true to use regular expressions; otherwise, false.

.NET Framework Security

See Also

Reference

StringComparisonRule Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace