Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
appendMedium
Collapse the table of content
Expand the table of content

appendMedium method

Adds a medium to the end of the current list. If the medium is already used, it is first removed.

Document Object Model (DOM) Level 2 Style Specification, Section 1.2Internet Explorer 9

 

Syntax


HRESULT retVal = object.appendMedium(bstrMedium);

Parameters

bstrMedium [in]

Type: BSTR

The new medium to add.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

 

Standards information

See also

Reference
IHTMLCSSMediaList::deleteMedium
IHTMLCSSMediaList::item
IHTMLCSSMediaList::length
IHTMLCSSMediaList::mediaText

 

 

Community Additions

ADD
Show:
© 2015 Microsoft