Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestControlCollection.RemoveAll Method (Predicate<UITestControl>)

 

Removes the controls matching the predicate.

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

public void RemoveAll(
	Predicate<UITestControl> predicate
)

Parameters

predicate
Type: System.Predicate<UITestControl>

Predicate to match for removing the control.

Return to top
Show: