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
- 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.
See Also
Reference
ValidationRuleFindText Members
Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace