Metodo ReadOnlyObservableSet<T>.RemoveItem
Removes the specified element from a ReadOnlyObservableSet<T> object.
Spazio dei nomi: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Sintassi
'Dichiarazione
Protected Function RemoveItem ( _
item As T _
) As Boolean
protected bool RemoveItem(
T item
)
Parametri
- item
Tipo: T
The element to remove from the set.
Valore restituito
Tipo: 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.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.