Share via


ValidationRuleFindText.FindText Property

Gets or sets the string which is searched for in the WebTestResponse.

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

Syntax

'Declaration
Public Property FindText As String
public string FindText { get; set; }
public:
property String^ FindText {
    String^ get ();
    void set (String^ value);
}
member FindText : string with get, set
function get FindText () : String 
function set FindText (value : String)

Property Value

Type: String
The search string.

Remarks

If UseRegularExpression is true, this property contains a search pattern that is defined by a regular expression.

.NET Framework Security

See Also

Reference

ValidationRuleFindText Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace

Other Resources

Regular Expressions as a Language

Character Classes in Regular Expressions