ISessionObject::get_Value

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

HRESULT get_Value(
  BSTR bstrValue, //binary string that contains the variable name
  VARIANT * pvar  //pointer to a VARIANT that receives the variable 
                  // value
);
 

Parameters

bstrValue
A binary string that contains the variable name.
pvar
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