BaseKeyedCollection<TItem>.Add

Adds an item to the collection.

public virtual void Add(TItem item);

Parameters

item
The item to add.

Remarks

Calls the hook InsertItem method, then calls SetItemProperties and SetPropertyChangeHandler so adding a existing item to the collection causes it to be set up as if New was called. Also raises the CollectionChanged event.

See also:

Class BaseKeyedCollection