Поделиться через


IApplicationObject::put_Value

The put_Value method stores a VARIANT in the Application Object object.

HRESULT put_Value(
      BSTR bstrValue,
      VARIANT var
);

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.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also