jwcolby
jwcolby at colbyconsulting.com
Tue Nov 13 07:34:22 CST 2007
In answer to my own question, I found this... http://articles.techrepublic.com.com/5100-22-1050654.html#comments It could be very useful in some circumstances. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, November 13, 2007 7:43 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Iterating class properties Does anyone know a way to iterate the properties of a class in VB.Net or C#.Net (or in .Net in general)? There is built-in functionality to store classes out to XML files and this stuff does exactly that, apparently using only the Get/Let statements, i.e. if there is not both a get and let statement for a property then the process fails to convert that property to XML. So if MS does it, is that capability publicly available? Is there a property iterator buried in the innards of the class object? John W. Colby Colby Consulting www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com