次の方法で共有


IResponse::PICS

The IResponse::PICS method adds a value to the PICS label field of the response header.

HRESULT Pics(
      BSTR bstrHeaderValue
);

Parameters

  • bstrHeaderValue
    [in] A BSTR that contains the new PICS value.

Remarks

The IResponse::PICS method inserts any string in the header, whether or not it represents a valid PICS label.

If a single page includes multiple tags containing Response.PICS, each instance will replace the PICS label set by the previous one. As a result, the PICS label will be set to the value specified by the last instance of Response.PICS in the page.

Because PICS labels contain quotes, the author must replace each quote with the ASCII equivalent for the quote symbol [& chr(34) &].

For more details on the PICS standard, see the World Wide Web Consortium Web site.

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