共用方式為


IResponse::get_Buffer

The IResponse::get_Buffer method retrieves the current value of the Response.Buffer property of the Response object.

HRESULT get_Buffer(
      VARIANT_BOOL* fIsBuffering
);

Parameters

  • fIsBuffering
    [retval] [out] Points to a Boolean VARIANT that receives the Buffer value.

Remarks

When page output is buffered, the server does not send a response to the client until all of the server scripts on the current page have been processed, or until the Flush or End method has been called.

The Buffer property cannot be set after the server has sent output to the client. For this reason, the call to Response.Buffer should be the first line of the .asp file.

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