IResponse::get_ContentType

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

HRESULT get_ContentType(
  BSTR * pbstrContentTypeRet  //pointer to a binary string that 
                              // receives the ContentType value
);
 

Parameters

pbstrContentTypeRet
Points to a binary string that receives the Content Type value.

Remarks

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

See Also

Response Object