Microsoft XML 2.5 SDK


 

IXTLRuntime::absoluteChildNumber Method

[This is preliminary documentation and subject to change.]

Returns the number of the node relative to all siblings.

Visual Basic Syntax

lValue = oXTLRuntime.absoluteChildNumber(objNode)

C/C++ Syntax

HRESULT absoluteChildNumber(

    IXMLDOMNode *pNode,

    long *pNumber);

Parameters

pNode

[in]
Node for which the child number is to be returned.

pNumber

[out]
Index for the node in its parent's list of all child nodes. The first entry in the list is assigned the value 1.

C/C++ Return Value

Returns S_OK if successful, or an error code otherwise.