combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / ParseFirstElementOnly Property


In This Topic
    ParseFirstElementOnly Property
    In This Topic
    Gets or sets if the whole XML file should be parsed to determine the available fields and tables or if just the first element should be parsed. If you can make sure that all your XML elements contain the same fields and attributes, you can increase Designer startup performance especially for huge files by setting this property to true. However, if attributes may be present on one element but missing on the first (e.g. a person might have an <Adresses> sub-element but the first person has no addresses), you should leave this property at it's default setting - false.
    Syntax
    'Declaration
     
    
    Public Property ParseFirstElementOnly As Boolean
    public bool ParseFirstElementOnly {get; set;}
    public:
    property bool ParseFirstElementOnly {
       bool get();
       void set (    bool value);
    }
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also