ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / C1Report Class / CopyFrom Method
C1Report that contains the report to be copied.

In This Topic
    CopyFrom Method (C1Report)
    In This Topic
    Copies a report definition from another C1Report component.
    Syntax
    'Declaration
     
    Public Sub CopyFrom( _
       ByVal sourceReport As C1Report _
    ) 
    public void CopyFrom( 
       C1Report sourceReport
    )

    Parameters

    sourceReport
    C1Report that contains the report to be copied.
    Remarks
    This method is similar to copying the ReportDefinition property from one C1Report to another, but is substantially faster. Note that while this method clones the fields of the report, in only makes shallow copies of the fields' properties (so e.g. subreports are not cloned).
    See Also