You're correct, each call to vlax-put-property has a corresponding vlax-get-property. E.g.
Code:
;; Assume Obj is the vla object reference of the MLeaderStyle
(vlax-put-property Obj 'TextStyleName "STANDARD") ;Sets the txt stylename to STANDARD
;; then
(setq TStyle (vlax-get-property Obj 'TextStyleName)) ;Stores the TxtStyleName into var TStyle
BTW, you can also use the vla shortcut way:
Code:
(vla-put-TextStyleName Obj "STANDARD") ;Sets the txt stylename to STANDARD
;; then
(setq TStyle (vla-get-TextStyleName Obj)) ;Stores the TxtStyleName into var TStyle
Sometimes it gives better / easier to use results one way or another, depends on what data type the property is & what you want to do with the data.