RemoveChildElement Syntax 1 – PB Docs 2022

RemoveChildElement Syntax 1

Description

Removes the first child PBDOM_ELEMENT object (one level deep)
that has the local name provided and belongs to no namespace.

Syntax

Argument

Description

pbdom_element_name

The name of a PBDOM_ELEMENT object

strElementName

The name of the child PBDOM_ELEMENT object to
remove

Return value

Boolean.

Returns true if the specified PBDOM_ELEMENT object was removed,
and false otherwise.

Throws

EXCEPTION_INVALID_ARGUMENT — If the input parameter is invalid,
for example, null.

EXCEPTION_INVALID_STRING — If the input element name is
invalid.

See also

GetChildElement

GetChildElements

HasChildElements

HasChildren

IsRootElement

RemoveChildElement
Syntax 2

RemoveChildElements


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x