Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the number of the nearest ancestor of a node with the requested node name.
Syntax
HRESULT ancestorChildNumber( BSTR bstrNodeName, IDOMNode * pNode, long * pNumber);
Parameters
- bstrNodeName
- [in] Node name of the desired ancestor.
- pNode
- [in] Node from which to start the search.
- pNumber
- [out] 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.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.