Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLDocument2::mimeType Property

Retrieves the MIME type for the file.

Syntax


HRESULT IHTMLDocument2::get_mimeType(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives the MIME type.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Returns a string describing the image's or anchor's MIME type (once it has loaded). If the object hasn't loaded yet, the empty string is returned.

Community Additions

Show:
© 2015 Microsoft