IApplicationObject::get_Value

The IApplicationObject::get_Value method retrieves the value of a variable stored in the Application object.

HRESULT get_Value(

  BSTR bstrValue,     // contains the name of the variable

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

      // value

);

 

Parameters
bstrValue
[in] A BSTR that contains the name of the variable to retrieve.
pvar
[retval] [out] Points to a variant that holds the value for the variable specified in bstrValue.
Remarks

You can use this method to access variables that have been given application scope.

See Also

Application Object