IMediaList.DeleteMedium

IMediaList.DeleteMedium method

Deletes the medium indicated by oldMedium from the list.

public void DeleteMedium(string oldMedium)
ParameterTypeDescription
oldMediumStringThe medium to delete in the media list.

Exceptions

exceptioncondition
DOMExceptionNO_MODIFICATION_ALLOWED_ERR: Raised if this list is readonly.NOT_FOUND_ERR: Raised if oldMedium is not in the list.

See Also