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

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int GetOwnedObjectCount()
Visual Basic
Public Function GetOwnedObjectCount As Integer

Return Value

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.).

See Also