ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Tools Namespace / ReportItemExtensions Class / Clone<TItem> Method
A type of the report component to clone.
An GrapeCity.ActiveReports.PageReportModel.IReportComponent object to clone.

In This Topic
    Clone<TItem> Method (ReportItemExtensions)
    In This Topic
    Creates a clone of a specified report component.
    Syntax
    'Declaration
     
    Public Shared Function Clone(Of TItem As IReportComponent)( _
       ByVal item As TItem _
    ) As TItem
    public static TItem Clone<TItem>( 
       TItem item
    )
    where TItem: IReportComponent

    Parameters

    item
    An GrapeCity.ActiveReports.PageReportModel.IReportComponent object to clone.

    Type Parameters

    TItem
    A type of the report component to clone.

    Return Value

    A new instance of TItem that is a clone of the original.
    Remarks
    This method should not be used directly in application code. It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.
    See Also