ISessionObject::get_Value

The ISessionObject::get_Value method retrieves the value of a variable stored in the Session object.

HRESULT get_Value(

  BSTR bstrValue, // contains the variable name

  VARIANT * pvar  // pointer to a VARIANT that receives the variable value

);

 

Parameters
bstrValue
[in] A BSTR that contains the variable name.
pvar
[retval] [out] Points to a VARIANT that receives the variable value.
Remarks

You can store values in the Session object. Information stored in the Session object is available throughout the session and has session scope.

See Also

Session Object