GetOwnerDocumentObject

Description

Returns the owning PBDOM_DOCUMENT of the current PBDOM_OBJECT.

Syntax

pbdom_object_name.GetOwnerDocumentObject()

Argument

Description

pbdom_object_name

The name of the PBDOM_OBJECT


Return value

PBDOM_DOCUMENT.

Throws

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

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

Usage

The owning PBDOM_DOCUMENT of the current PBDOM_OBJECT is null if PBDOM_OBJECT is not owned by any PBDOM_DOCUMENT, or if the current PBDOM_OBJECT is itself a PBDOM_DOCUMENT object.

See also

GetParentObject

SetParentObject