Count Property

Count Property

         Example         Applies To        

Returns the number of objects in a collection.

Syntax

object.Count

The Count property syntax has these parts:

Part Description
object Required. A valid object.

Remarks

The Count property is read only.

Note that the index value for the first page or tab of a collection is zero, the value for the second page or tab is one, and so on. For example, if a MultiPage contains two pages, the indexes of the pages are 0 and 1, and the value of Count is 2.