Freigeben über


deleteMedium method

Deletes a medium from the current list.

 

Syntax

HRESULT retVal = object.deleteMedium(bstrMedium);

Parameters

  • bstrMedium [in]
    Type: BSTR

    The medium to delete in the media list.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

 

Standards information

See also

Reference

IHTMLCSSMediaList::appendMedium

IHTMLCSSMediaList::item

IHTMLCSSMediaList::length

IHTMLCSSMediaList::mediaText