Share via


childNumber Method (Windows CE 5.0)

Send Feedback

Returns the number of the node relative to siblings of the same node name.

[Script]

Script Syntax

lValue= oXTLRuntime.childNumber(pNode);

Script Parameters

  • pNode
    Object. Node for which the child number is to be returned.

Script Return Value

Long integer. Returns the index for the node in its parent's list of child nodes with that name. The first entry in the list is assigned the value 1.

[C/C++]

C/C++ Syntax

HRESULT childNumber(IXMLDOMNode* pNode,long* pNumber);

C/C++ Parameters

  • pNode
    [in] Node for which the child number is to be returned.
  • pNumber
    [out, retval] Index for the node in its parent's list of child nodes with that name. The first entry in the list is assigned the value 1.

C/C++ Return Values

  • S_OK
    Value returned if successful.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

General Remarks

This method applies to the following interface:

IXTLRuntime.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.