Method AppendMedium
- Namespace
- SharpVectors.Dom.Stylesheets
- Assembly
- SharpVectors.Css.dll
AppendMedium(string)
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)
Parameters
newMedium
stringThe new medium to add.
Exceptions
- DomException
INVALID_CHARACTER_ERR: If the medium contains characters that are invalid in the underlying style language.
- DomException
NO_MODIFICATION_ALLOWED_ERR:
Raised if this media list is readonly.