Metodo ReadOnlyObservableSet<T>.AddItem
Adds the specified element to a set.
Spazio dei nomi: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Sintassi
'Dichiarazione
Protected Function AddItem ( _
item As T _
) As Boolean
protected bool AddItem(
T item
)
Parametri
- item
Tipo: T
The element to add to the set.
Valore restituito
Tipo: System.Boolean
true if the element is added to the ReadOnlyObservableSet<T> object, or false if the element is already present.
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.