Iterate Through All Objects In Btw File Follow
I have a valid BTW file that I would like to inspect for data sources. It does not have any Named Data Sources but 2 Database Fields and 11 Object Values where the first two are Barcode elements. Is there a code snippet or two that will let me iterated though these collections.
I used the sample code in the White Paper but since I do not have any Named Data Sources the iteration did not loop over the desired objects. How can I use something similar to the following to inspect the Databases and Objects collections:
foreach (Object oObject in btFormat.Objects)
MessageBox.Show(" Read it", oObject.ToString());
Any advice will be truly appreciated on how to iterate the Databases and Objects collections.
Please sign in to leave a comment.