Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1MultiDocumentItemCollection Class / Add Method / Add(C1RdlReportBase) Method
The report that is associated with the new item.

In This Topic
    Add(C1RdlReportBase) Method
    In This Topic
    Creates a C1MultiDocumentItem, associates it with the specified report, and adds it to the current collection.

    Note that the passed document reference is not stored in the created item, see C1MultiDocumentItem.SetDocument for details.

    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal report As C1RdlReportBase _
    ) As C1MultiDocumentItem
    public C1MultiDocumentItem Add( 
       C1RdlReportBase report
    )

    Parameters

    report
    The report that is associated with the new item.

    Return Value

    The newly created item.
    See Also