Udostępnij za pośrednictwem


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

value = instance.FindText

instance.FindText = value
public string FindText { get; set; }
public:
property String^ FindText {
    String^ get ();
    void set (String^ value);
}
public function get FindText () : String 
public function set FindText (value : String)

Property Value

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

ValidationRuleFindText Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace

Other Resources

Regular Expressions as a Language

Character Classes