共用方式為


UITestControl.WaitForControlNotExist 方法 (Int32)

命名空間:  Microsoft.VisualStudio.TestTools.UITesting
組件:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)
  Microsoft.VisualStudio.TestTools.UITesting (在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

語法

'宣告
Public Function WaitForControlNotExist ( _
    millisecondsTimeout As Integer _
) As Boolean
public bool WaitForControlNotExist(
    int millisecondsTimeout
)
public:
bool WaitForControlNotExist(
    int millisecondsTimeout
)
member WaitForControlNotExist : 
        millisecondsTimeout:int -> bool
public function WaitForControlNotExist(
    millisecondsTimeout : int
) : boolean

參數

  • millisecondsTimeout
    類型:Int32

傳回值

類型:Boolean

.NET Framework 安全性

請參閱

參考

UITestControl 類別

WaitForControlNotExist 多載

Microsoft.VisualStudio.TestTools.UITesting 命名空間