property NonworkingPatterns.Count as Long
Returns the number of objects in a collection.

TypeDescription
Long A long expression that defines the number of the NonworkingPattern objects in the NonworkingPatterns collection.
The Count property counts the number of NonworkingPattern objects in the NonworkingPatterns collection. The Item property accesses a NonworkingPattern object based on its identifier. The ID property indicates the identifier of the NonworkingPattern object. The IDNonworkingPattern property of the NonworkingTime object indicates the identifier of the NonworkingPattern object to be displayed on the non-working interval. The Remove method removes a NonworkingPattern object based on its identifier.  The Clear method removes all defined NonworkingPattern objects.  The for each statement is supported by NonworkingPatterns collection, so the NonworkingPatterns collection can be enumerated using a sample like  for each nw in NonworkingPatterns