Set custom properties for virtual parts

The typical method for modeldoc2 types doesn't seem to work since I'm getting access to the virtual parts as Icomponent2 type objects.  Anyone succesfully set custom properties for virtual parts?  If so, code samples would be greatly appreciated.

Thanks!

SolidworksApi macros