Compartilhar via


UITestControl.WaitForControlPropertyEqual Method (String, Object, Int32)

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

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

Parameters

  • propertyName
    Type: String
  • propertyValue
    Type: Object
  • millisecondsTimeout
    Type: Int32

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

UITestControl Class

WaitForControlPropertyEqual Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace