Udostępnij za pośrednictwem


Metoda UITestControlCollection.Remove —

Usuwa pierwsze wystąpienie UITestControl z UITestControlCollection.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public Function Remove ( _
    item As UITestControl _
) As Boolean
public bool Remove(
    UITestControl item
)
public:
virtual bool Remove(
    UITestControl^ item
) sealed
abstract Remove : 
        item:UITestControl -> bool 
override Remove : 
        item:UITestControl -> bool 
public final function Remove(
    item : UITestControl
) : boolean

Parametry

Wartość zwracana

Typ: System.Boolean
true Jeśli item zostało znalezione i usunięte; w przeciwnym razie false.

Implementuje

ICollection<T>.Remove(T)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITestControlCollection Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting