共用方式為


IResponse::get_CharSet

The IResponse::get_CharSet method retrieves a character set to append to the content type header.

HRESULT get_CharSet(
      BSTR* pbstrCharSetRet
);

Parameters

  • pbstrCharSetRet
    [retval] [out] Points to a BSTR that receives the CharSet value.

Remarks

You can use the CharSet value to determine the character set to use when displaying the current Response object.

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