Freigeben über


UITestControlCollection.RemoveAll-Methode

Entfernt die Steuerelemente, die mit dem Prädikat übereinstimmen.

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

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControlCollection Klasse

Microsoft.VisualStudio.TestTools.UITesting-Namespace