AddContent

Description

Adds a new PBDOM_OBJECT into the current PBDOM_OBJECT.

Syntax

pbdom_object_name.AddContent(pbdom_object pbdom_object_ref)

Argument

Description

pbdom_object_name

The name of the PBDOM_OBJECT

pbdom_object_ref

The PBDOM_OBJECT to add


Return value

PBDOM_OBJECT.

The return value is the newly modified PBDOM_OBJECT.

Throws

EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE -- This PBDOM_OBJECT object or the input PBDOM_OBJECT is not associated with a derived PBDOM_OBJECT class object.

EXCEPTION_INVALID_ARGUMENT -- Input argument is invalid.

Usage

When a new PBDOM_OBJECT is added to the current one, the new PBDOM_OBJECT becomes a child node of the current PBDOM_OBJECT.

See also

GetContent

InsertContent

RemoveContent

SetContent