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

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

IHTMLTable::createCaption

IHTMLTable::createTFoot

IHTMLTable::createTHead

IHTMLTable::deleteCaption

IHTMLTable::deleteTFoot