[]
        
(Showing Draft Content)

C1.C1Preview.RenderObject.GetOwnedObjectCount

GetOwnedObjectCount Method

GetOwnedObjectCount()

Calculates the number of objects which are owned by the current object.

Declaration
public int GetOwnedObjectCount()
Returns
Type Description
int

The number of owned objects.

Remarks

This method takes into account:

  • Child objects and their children;
  • Objects which are specified in page layouts (such as PageHeader, PageFooter etc.).