IApplicationObject::put_Value

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

HRESULT put_Value(

BSTR bstrValue,

//string that contains the name of the variable

VARIANT var

//variant that contains the variable value

);