I have an object, and the name of a Property as as %String, and I know that
the type of the Property is also %String. Now I want to set this property.
How do I do that?

For example:

Myself = New Sample.Person()
PropertyOfChoice = "Name" // Retreived from the database, so non-static
ValueOfChoice = "Verhoog"

And now I want to do something like Myself.Properties(PropertyOfChoice) =
ValueOfChoice

Thanks for the help!

Joost



Reply via email to