Quantcast
Channel: Loop through object properties?
Viewing all articles
Browse latest Browse all 4

Loop through object properties?

$
0
0

Hello - lets say I create a basic vb class object with a number of public properties.

If I create an instance of this class, is it possible to loop through the properites of this object?

e.g.

Dim person as New Person

For each pr as property in person

Response.Write(pr.propertyName)

That sort of thing?

Thanks


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images