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 BSTR that

// receives the ContentType value

);

 

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

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

See Also

Response Object