Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the depth within the document tree at which the specified node appears.
Syntax
lValue = oXTLRuntime.depth(pNode)
Parameters
- pNode
- Object. Node for which the depth is to be returned.
Returns
Long integer. Returns the depth within the document tree at which the specified node appears. The document element, or root node, returns the value 0; its children return the value 1, and so on.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.