Export (0) Print
Expand All

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:
© 2014 Microsoft