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
- predicate
Type: System.Predicate<UITestControl>
Predicate to match for removing the control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.