Description

A read-only property giving the count of all existing McObject instances that were created by this McObjects instance.

Property type

A Long value.  

Syntax

object.CreatedObjectsCount

The CreatedObjectsCount Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McObjects.

Remarks

The returned count is of all existing objects, whether they are still in the collection or not. That is, an McObject instance may have been removed from the collection (and possibly killed) via a call to Remove, McObject.RemoveFromCollection, McObject.KillObjectAndChildren, or RemoveAll, but it will still exist if any client still holds a reference to it. Get the Count property if you want to see how many objects are still in the collection.