Contents Index Topic Contents | ||
Previous Topic: IHTMLObjectElement::put_type Next Topic: IHTMLObjectElement::get_form |
IHTMLObjectElement::get_type
HRESULT get_type( BSTR *p );Retrieves the MIME type of the object. This is used to retrieve a classid for the object when no CLASSID= attribute is given.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the MIME type.
See also put_type
IHTMLObjectElement::put_type
HRESULT put_type( BSTR v );Specifies the MIME type of the object. This is used to retrieve a classid for the object when no CLASSID= attribute is given.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the MIME type.
See also get_type
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.