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
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..