List & Label .NET
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / RegisterEmptyNodesAsColumnsWhenFlattening Property


In This Topic
    RegisterEmptyNodesAsColumnsWhenFlattening Property
    In This Topic

    When FlattenStructure is enabled, ParseFirstElementOnly will always be regarded as true. Therefore a column would not be added to the data structure if it was empty in the first row of a table (first childnode of the corresponding XML element). If this option is set to true, empty XML nodes will be registered as columns even when FlattenStructure is enabled.

    Syntax
    'Declaration
     
    
    Public Property RegisterEmptyNodesAsColumnsWhenFlattening As Boolean
    public bool RegisterEmptyNodesAsColumnsWhenFlattening {get; set;}
    public:
    property bool RegisterEmptyNodesAsColumnsWhenFlattening {
       bool get();
       void set (    bool value);
    }
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also