Export (0) Print
Expand All

IHTMLObjectElement::codeType Property

Sets or retrieves the Internet media type for the code associated with the object.

Syntax


HRESULT IHTMLObjectElement::get_codeType(BSTR *p);HRESULT IHTMLObjectElement::put_codeType(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives the media type.
v
BSTR that specifies the media type.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Internet media types are also known as MIME types.

See Also

MIME Type Detection in Internet Explorer

Community Additions

ADD
Show:
© 2014 Microsoft