Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Returns True if this node has children.

Script Syntax

Copy Code
		
boolValue = oXMLDOMNode.hasChildNodes();

Remarks

Script Parameters

None.

Script Return Value

Boolean. Returns True if this node has children.

C/C++ Syntax

Copy Code
HRESULT hasChildNodes(
  VARIANT_BOOL* 
hasChild
);

Remarks

C/C++ Parameters

hasChild

[out, retval] True is returned if this node has children.

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value returned when there are no children.

E_INVALIDARG

Value returned if hasChildis Null.

Requirements

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

General Remarks