Programmer's Guide > Interfaces > W3C CharacterDataEditVAL interface > canDeleteData method
  
canDeleteData method
Determines if character data can be deleted.
canDeleteData(offset, count)
Parameters
unsigned longoffset
Offset.
unsigned longcount
Number of 16-bit units to delete.
Returns
unsigned short. A validation state constant.
Throws
DOMException
INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of 16-bit units in data, or if the specified count is negative.