HRESULT value = object.get_rowIndex(* p);
long that specifies the index number.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
This property is different from IHTMLTableRow::sectionRowIndex, which indicates the object's position in the tBody, tHead, or tFoot rows collection. These sections are mutually exclusive, so the tr is always contained in one of these sections and in the table. You can determine the IHTMLTableRow::rowIndex property of an object by the order in which the object appears in the HTML source.