UITestControlCollection.RemoveAll 方法

移除用來比對述詞的控制項。

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

語法

'宣告
Public Sub RemoveAll ( _
    predicate As Predicate(Of UITestControl) _
)
public void RemoveAll(
    Predicate<UITestControl> predicate
)
public:
void RemoveAll(
    Predicate<UITestControl^>^ predicate
)
member RemoveAll : 
        predicate:Predicate<UITestControl> -> unit 
public function RemoveAll(
    predicate : Predicate<UITestControl>
)

參數

.NET Framework 安全性

請參閱

參考

UITestControlCollection 類別

Microsoft.VisualStudio.TestTools.UITesting 命名空間