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

Starting at index 1 this method returns the index into the sequence of nodes that the enumerator is set at.

So if the enumerator has returned 2 out of 5 nodes from the node set then position() would return 3. This method implements the XPath position() function.

Parameters
pNumber[ out ] Provides the index of the next node to be returned by next().
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgOne of the parameters is NULL.