UITestControlCollection.RemoveAll Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.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: Predicate<UITestControl>
.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.