Click to return to the XML (Extensible Markup Language) home page    
IXTLRuntime::ancestorChil...     IXTLRuntime Interface    
Web Workshop  |  XML (Extensible Markup Language)

IXTLRuntime::absoluteChildNumber Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.