Description

A read-only property reflecting the Count of McObjects in the collection, as filtered by SetEnumFilters.

Property type

A Long value.  

Syntax

object.Count

The Count Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McObjects.

Remarks

The count takes into account any filters which have been set by the SetEnumFilters method. Unless you have called SetEnumFilters, only those objects in the collection that were created by this instance of McObjects will be included in the count.

Note that the enumeration filters are automatically cleared by any “for each” loop call or they can be cleared with a call to SetEnumFilters with the eControlFlags set to mcobjEnumResetToNoFilter.