Gets or sets a value that indicates whether to pass or fail the test if it is found or not.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property PassIfTextFound As Boolean
public bool PassIfTextFound { get; set; }
public:
property bool PassIfTextFound {
    bool get ();
    void set (bool value);
}
member PassIfTextFound : bool with get, set
function get PassIfTextFound () : boolean 
function set PassIfTextFound (value : boolean)
Property Value
Type: Boolean
true if the test passes when the text is found; otherwise, false if the test passes when the text is not found. The default is true.
.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.