IApplicationObject::putref_Value

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

HRESULT putref_Value(

BSTR bstrValue,

//string that contains the name of the variable

VARIANT var

//variant that contains the variable value

);