DetachRootElement

Description

Detaches the root element of this document and returns it.

Syntax

pbdom_document_name.DetachRootElement()

Argument

Description

pbdom_document_name

The name of a PBDOM_DOCUMENT object


Return value

PBDOM_ELEMENT.

Throws

EXCEPTION_MEMORY_ALLOCATION_FAILURE -- Insufficient memory was encountered while executing this method.

See also

GetRootElement

HasRootElement

SetRootElement