Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the number of the nearest ancestor of a node with the requested node name.
Syntax
lValue = oXTLRuntime.ancestorChildNumber(bstrNodeName, pNode)
Parameters
- bstrNodeName
- String. Node name of the desired ancestor.
- pNode
- Object. Node from which to start the search.
Returns
Long integer. Returns the number of the ancestor relative to its sibling nodes. The first entry in the list is assigned the value 1. Returns null if there is no such ancestor.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.