[]
        
(Showing Draft Content)

C1.C1Preview.OwnedCollectionBase.AssignFrom

AssignFrom Method

AssignFrom(OwnedCollectionBase)

Clears the current collection, and copies the items from another one. The items are copied by cloning, and must support the ICloneable interface (if an item that does not support is encountered, an exception occurs).

Declaration
public virtual void AssignFrom(OwnedCollectionBase source)
Parameters
Type Name Description
OwnedCollectionBase source

The OwnedCollectionBase to copy items from.