共用方式為


IResponse::put_Buffer

Th IResponse::put_Buffer method sets the value of the Response.Buffer property of the Response object.

HRESULT put_Buffer(
      VARIANT_BOOL fIsBuffering
);

Parameters

  • fIsBuffering
    [in] A Boolean VARIANT that contains the new 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