combit List & Label 25 - .NET Online Web Help
ParseFirstElementOnly Property

combit.ListLabel25.DataProviders Namespace > XmlDataProvider Class : ParseFirstElementOnly Property
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.
Public Property ParseFirstElementOnly As Boolean
public bool ParseFirstElementOnly {get; set;}
property bool ParseFirstElementOnly {
   bool get();
   void set (    bool value);

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

See Also


XmlDataProvider Class
XmlDataProvider Members