Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified element to a set.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Function AddItem ( _
item As T _
) As Boolean
protected bool AddItem(
T item
)
protected:
bool AddItem(
T item
)
member AddItem :
item:'T -> bool
protected function AddItem(
item : T
) : boolean
Parameters
item
Type: TThe element to add to the set.
Return Value
Type: Boolean
true if the element is added to the ReadOnlyObservableSet<T> object, or false if the element is already present.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.