Udostępnij za pośrednictwem


Metoda ReadOnlyObservableSet<T>.RemoveItem —

Removes the specified element from a ReadOnlyObservableSet<T> object.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Protected Function RemoveItem ( _
    item As T _
) As Boolean
protected bool RemoveItem(
    T item
)

Parametry

  • item
    Typ: T
    The element to remove from the set.

Wartość zwracana

Typ: System.Boolean
true if the element is successfully found and removed, otherwise false. This method returns false if item is not found in the ReadOnlyObservableSet(T) object.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ReadOnlyObservableSet<T> Klasa

Przestrzeń nazw Microsoft.VisualStudio.Shell