IApplicationObject::put_Value

The put_Value method stores a VARIANT in the Application object.

HRESULT put_Value(

  BSTR bstrValue// contains the name of the variable

  VARIANT var    // contains the variable value

);

 

Parameters
bstrValue
[in] A BSTR that contains the name of the variable.
var
[in] A VARIANT that stores the variable value.
Remarks

If the VARIANT being stored is an Automation object, ASP will attempt to store the default value of that object into the application. If ASP cannot get the default value, then the call will fail.

See Also

Application Object