>Thank you very much (Большое спасибо),
Нема на чему.
Actually, I had no idea how this would work, but then if you get an object, chances are intellisense can read its PEMs. So I just suspended the code after the object was instantiated, and then tried things out in Command window. It wasn't that hard to guess how to get the values out.