Export (0) Print
Expand All

deleteTHead method

Deletes the tHead element and its contents from the table.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

 

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft