IMediaList.AppendMedium

IMediaList.AppendMedium method

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

public void AppendMedium(String newMedium)
ParameterTypeDescription
newMediumStringThe new medium to add.

Exceptions

exceptioncondition
DOMExceptionINVALID_CHARACTER_ERR: If the medium contains characters that are invalid in the underlying style language.NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.

See Also