请单击以进行评分并提供反馈
MSDN
MSDN Library

We were unable to locate this content in zh-cn.

Here is the same content in en-us.

IHTMLObjectElement::type Property

Sets or retrieves the MIME type of the object.

Syntax

HRESULT IHTMLObjectElement::get_type(BSTR *p);
HRESULT IHTMLObjectElement::put_type(BSTR v);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

MIME is an abbreviation for Multipurpose Internet Mail Extension, and is a set of enhancements used with Simple Mail Transfer Protocol (SMTP). Used together, MIME and SMTP allow Internet messages to include a mixture of audio, images, video, and text components, and accommodate a variety of international character sets.

When no IHTMLObjectElement::classid attribute is specified for an object, the IHTMLObjectElement::type property is used to retrieve the class identifier for the object.

In Microsoft Internet Explorer 6, This property now applies to the a, link, and script objects.

See Also

IHTMLObjectElement::data
社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利 | 商标 | 隐私权声明
Page view tracker