combit List & Label 28 - .NET Help
combit.Reporting.Dom Namespace / ObjectReportContainer Class / SubItems Property
Example


In This Topic
    SubItems Property (ObjectReportContainer)
    In This Topic
    Contains a collection of sub items (i.e. SubItemCrosstab, SubItemTable, ...).
    Syntax
    'Declaration
     
    
    Public ReadOnly Property SubItems As CollectionSubItemBases
    public CollectionSubItemBases SubItems {get;}
    public:
    property CollectionSubItemBases^ SubItems {
       CollectionSubItemBases^ get();
    }
    Example
    foreach (SubItemBase item in container.SubItems) 
    { 
        if (item is SubItemCrosstab) 
        { 
            //The element is a crosstab...
        } 
    }
    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 22H2), Windows 11 (21H2 - 22H2), Windows Server 2012 - 2022

    See Also