[resolved] loop through all properties [/resolved]
is there any way to loop through all the properties of an object?
Example: if i had an object of this class
VB Code:
public class ObjectExample
private _a as integer
private _b as string
public property a() as integer
get
return _a
end get
set(byval value as integer)
_a = value
end set
end property
public property b() as string
get
return _b
end get
set(byval value as string)
_b = value
end set
end property
end class
now i want to be able to loop throught and check the value of property a and then of property b.
is this even possible?