Table of Contents

Method DeleteMedium

Namespace
SharpVectors.Dom.Stylesheets
Assembly
SharpVectors.Css.dll

DeleteMedium(string)

Deletes the medium indicated by oldMedium from the list.

public void DeleteMedium(string oldMedium)

Parameters

oldMedium string

The medium to delete in the media list.

Exceptions

DomException

NOT_FOUND_ERR: Raised if oldMedium is not in the list.

DomException

NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is readonly.