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


combit.ListLabel24.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.
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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

XmlDataProvider Class
XmlDataProvider Members