HasChildren

Description

This method returns true if this PBDOM_CHARACTERDATA has at least one child PBDOM_OBJECT. If this PBDOM_CHARACTERDATA has no children, false is returned.

Syntax

pbdom_chardata_name.HasChildren()

Argument

Description

pbdom_chardata_name

The name of a PBDOM_CHARACTERDATA.


Return value

Boolean.

Value

Description

true

The current PBDOM_CHARACTERDATA has at least one child PBDOM_OBJECT

false

The current PBDOM_CHARACTERDATA has no child PBDOM_OBJECTs


Throws

EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE -- If this PBDOM_CHARACTERDATA is not a reference to an object derived from PBDOM_CHARACTERDATA.

Usage

If the PBDOM_CHARACTERDATA has at least one child PBDOM_OBJECT, true is returned. False is returned if there are no children.

Currently, false is always returned because no subclasses of PBDOM_CHARACTERDATA contain child nodes.