ReadOnlyObservableSet<T>.AddItem(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified element to a set.
protected:
bool AddItem(T item);
protected:
bool AddItem(T item);
bool AddItem(T item);
protected bool AddItem (T item);
member this.AddItem : 'T -> bool
Protected Function AddItem (item As T) As Boolean
Parameters
- item
- T
The element to add to the set.
Returns
true if the element is added to the ReadOnlyObservableSet<T> object; false if the element is already present.