[dba-VB] Iterating class properties

jwcolby jwcolby at colbyconsulting.com
Tue Nov 13 06:42:30 CST 2007


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 




More information about the dba-VB mailing list