ISessionObject::putref_Value

The ISessionObject::putref_Value method stores a COM Automation object in the Session object. Equivalent to put_Value for non-COM objects.

HRESULT putref_Value(
  BSTR bstrValue,
               //binary string that contains the new variable name
  VARIANT var  //VARIANT to store in the variable
);
 
Parameters
bstrValue
A binary string that contains the new variable name.
var
A variant to store in the variable.
Remarks

Before you store an object in the Session object, you should know what threading model it uses. For more information, see Component Design Guidelines.

See Also

Session Object


© 1997 by Microsoft Corporation. All rights reserved.