次の方法で共有


IApplicationObject::get_Value

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

HRESULT get_Value(
      BSTR bstrValue,
      VARIANT* pvar
);

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.

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