Export (0) Print
Expand All

IResponse::get_ContentType

IIS 6.0

The IResponse::get_ContentType method retrieves the current value of the Response.ContentType property of the Response object.

HRESULT get_ContentType(
   BSTR* pbstrContentTypeRet
);

pbstrContentTypeRet

[retval] [out] Points to a BSTR that receives the ContentType value.

You can use the ContentTypeRet value to determine the content type of the current Response object.

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

Show:
© 2014 Microsoft