ReadOnlyObservableSet<T>::AddItem Method (T)

 

Adds the specified element to a set.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected:
bool AddItem(
	T item
)

Parameters

item
Type: T

The element to add to the set.

Return Value

Type: System::Boolean

true if the element is added to the ReadOnlyObservableSet<T> object, or false if the element is already present.

Return to top
Show: