IApplicationObject::get_Value

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

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

Parameters

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