ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Rdl.Tools Namespace / ReportExtensions Class / GetSelfAndAllDescendants Method
A GrapeCity.ActiveReports.PageReportModel.ReportItem object to enumerate for.

In This Topic
    GetSelfAndAllDescendants Method
    In This Topic
    Enumerates self and all descendants. Enumerates a report item and all its descendants.
    Syntax
    'Declaration
     
    Public Shared Function GetSelfAndAllDescendants( _
       ByVal reportItem As ReportItem _
    ) As IEnumerable(Of ReportItem)
    public static IEnumerable<ReportItem> GetSelfAndAllDescendants( 
       ReportItem reportItem
    )

    Parameters

    reportItem
    A GrapeCity.ActiveReports.PageReportModel.ReportItem object to enumerate for.

    Return Value

    An IEnumerable object containing the report item and its descendants.
    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