IResponse::PICS

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

HRESULT Pics(

  BSTR bstrHeaderValue // contains the new PICS value

);

 

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 http://www.w3.org/PICS/.

See Also

Response Object