IsRootElement

Description

Indicates whether a PBDOM_ELEMENT object is the root element of a PBDOM_DOCUMENT object.

Syntax

pbdom_element_name.IsRootElement()

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object


Return value

Boolean.

Returns true if this PBDOM_ELEMENT object is the root element of a PBDOM_DOCUMENT, and false otherwise.

See also

GetChildElement

GetChildElements

HasChildElements

HasChildren

RemoveChildElement

RemoveChildElements