int CMarkup::GetChildElemIndex() const;

CMarkup Developer License

GetChildElemIndex is only in CMarkup Developer and the free XML editor  FOAL C++ scripting.

GetChildElemIndex returns the current child position element's internal index. If there is no current child position, it returns 0. See ElemIndex Navigation for the full story on all the ElemIndex methods.

This index can be specified in the GotoElemIndex, GotoChildElemIndex and GotoParentElemIndex methods. In addition to GetChildElemIndex, there are GetElemIndex and GetParentElemIndex methods.

The ElemIndex functions provide access to the internal element indexing of CMarkup. Do not attempt to goto an index of an element that may have been deleted. Also, indexes are only valid during the course of the CMarkup object's lifespan unless it is re-initialized (with SetDoc or Load). As elements are added and removed to a CMarkup object, an existing element's index remains valid unless it is removed or replaced.