Programmer's Guide > Interfaces > CMSObject interface > enclosingObject attribute
  
enclosingObject attribute
Specifies the object reference that encloses this particular CMS object reference. If this is a top level object, the value is null.
For example, if the user inserts reference to a "chapter" object into a checked out "book" object (via File Entity or XInclude) then the enclosingObject for the "chapter" object reference would be the containing "book" object.
enclosingObject
Access
read-only
Returns
CMSObject
Get throws
CMSException
Raised for any error.