R
rambalep
I need to get a class property value, where property name is contained
in a variable.
example:
class test
dim p1 as string
dim p2 as string
end class
....
sub x
dim t as test
dim myvar as string = "p1"
....
'I need to read a property of object t and the name of property is in
"myvar"
?
How can I do it?
Thanks
in a variable.
example:
class test
dim p1 as string
dim p2 as string
end class
....
sub x
dim t as test
dim myvar as string = "p1"
....
'I need to read a property of object t and the name of property is in
"myvar"
?
How can I do it?
Thanks