Freigeben über


UITestControl.WaitForControlPropertyNotEqual-Methode (String, Object)

Blockiert den aktuellen Thread, bis die angegebene Eigenschaft dieses Steuerelements nicht dem angegebenen Wert entspricht oder bis das Standardtimeout abläuft.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Function WaitForControlPropertyNotEqual ( _
    propertyName As String, _
    propertyValue As Object _
) As Boolean
public bool WaitForControlPropertyNotEqual(
    string propertyName,
    Object propertyValue
)
public:
bool WaitForControlPropertyNotEqual(
    String^ propertyName, 
    Object^ propertyValue
)
member WaitForControlPropertyNotEqual : 
        propertyName:string * 
        propertyValue:Object -> bool 
public function WaitForControlPropertyNotEqual(
    propertyName : String, 
    propertyValue : Object
) : boolean

Parameter

Rückgabewert

Typ: System.Boolean
true, wenn die angegebene Eigenschaft nicht vor dem Timeout propertyValue entspricht. Andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControl Klasse

WaitForControlPropertyNotEqual-Überladung

Microsoft.VisualStudio.TestTools.UITesting-Namespace

WaitForReadyTimeout