Oh, I'm sorry, that is C#. And it says so in your subject line
I don't have a suggestion about the hash or string or array, etc. but I'd recommend to try to get the simplest example or code snippet from the MapPoint help file working and then work backwards from there.
Eric