PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1MultiDocumentItemCollection Class / AssignFrom Method
The OwnedCollectionBase to copy items from.

In This Topic
    AssignFrom Method (C1MultiDocumentItemCollection)
    In This Topic
    Clears the current collection, and copies the items from another one. The items are copied by cloning, and must support the System.ICloneable interface (if an item that does not support is encountered, an exception occurs).
    Syntax
    'Declaration
     
    Public Overridable Sub AssignFrom( _
       ByVal source As OwnedCollectionBase _
    ) 
    public virtual void AssignFrom( 
       OwnedCollectionBase source
    )

    Parameters

    source
    The OwnedCollectionBase to copy items from.
    See Also