DatabaseCollection.Add

Adds an item to the collection.

Inherited from Stonefield.Collections.BaseKeyedCollection`1[[Stonefield.Query.DataDictionary.IDatabase, Interfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

public virtual void Add(IDatabase 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 DatabaseCollection