I hope someone can help me:

I have valued pairs, attributes names and values in one hand, and I have an object with attributes. I need to set the values of those attributes. I need something like

For each pairName in ListPairs
  Object.GetAttByName(pairName(name)) = pairName(value)

I wonder if thats possible... or something like it.


Can you maybe provide some more information? Please elaborate your point about Valued, Attribute names, and values pair. Showing your code might help.