deleteTHead method
Deletes the tHead element and its contents from the table.
Syntax
HRESULT retVal = object.deleteTHead();
Parameters
This method has no parameters.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
- Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5
Remarks
If only one tHead element exists in the source, the IHTMLTable::deleteTHead method deletes the table header. If multiple tHead elements have been defined, the next tHead element in the source order is promoted as the table header.
See also
Reference