Share via


childNumber Method (Windows Embedded CE 6.0)

1/6/2010

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

Script Syntax

            lValue = oXTLRuntime.childNumber(pNode);

Remarks

Ee502109.collapse(en-US,WinEmbedded.60).gifScript Parameters

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

Ee502109.collapse(en-US,WinEmbedded.60).gifScript 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.

Ee502109.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

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

Remarks

Ee502109.collapse(en-US,WinEmbedded.60).gifC/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.

Ee502109.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.

Ee502109.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This method applies to the following interface:

IXTLRuntime.

See Also

Reference

XSLT Methods