ISessionObject::putref_Value

This method stores a variable in the Session Object by reference.

HRESULT putref_Value(

BSTR bstrValue,

//string that contains the new variable name

VARIANT var

//variant to store in the variable

);