Share via


UITestControlCollection.RemoveAll Method

Removes the controls matching the predicate.

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

Syntax

'Declaration
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>
)

Parameters

.NET Framework Security

See Also

Reference

UITestControlCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace