combit List & Label 25 - .NET Online Web Help
FlattenStructure Property (XmlDataProvider)


combit.ListLabel25.DataProviders Namespace > XmlDataProvider Class : FlattenStructure Property

Gets or sets if the structure of the XML should be parsed as flat as possible. Without this setting, a structure like

 <xml>
 <Company>
  <Address>
    Untere Laube 30
  </Address>
 </Company>
</xml>

would trigger the creation of a "Company" table and a subordinate "Address" table in the data source. If you set this property to "true", you'll get a "Company" table and a string field "Address" within it.

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

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

XmlDataProvider Class
XmlDataProvider Members