Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMNodeset::last ( P6UINT32 pNumber)
pure virtual

Returns the index of the last node in the sequence.

So if the enumerator has returned 2 out of 5 ndoes from the node set then last() would return 5. The value of last does not change for a node set. This method implements the XPath last() function.

Parameters
pNumber[ out ] Index of the last node in the node set.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.