IMediaList.DeleteMedium
IMediaList.DeleteMedium method
Deletes the medium indicated by oldMedium from the list.
public void DeleteMedium(string oldMedium)
Parameter | Type | Description |
---|---|---|
oldMedium | String | The medium to delete in the media list. |
Exceptions
exception | condition |
---|---|
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.NOT_FOUND_ERR: Raised if oldMedium is not in the list. |
See Also
- interface IMediaList
- namespace Aspose.Html.Dom.Css
- assembly Aspose.HTML