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.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.