property NonworkingTime.Index as Long
Gets the index of the NonworkingTime object in its collection.

TypeDescription
Long A Long expression that defines the index of the NonworkingTime object in its collection
The Index property of the NonworkingTime object indicates the INDEX of the object within its collection, NOT the identifier that should be used on the IDNonworkingPattern property. The Item property can access a NonworkingTime object based on its handle, reference or index. The Count property indicates the number of NonworkingTime object in the NonworkingTimes collection. The for each statement is supported by the NonworkingTimes collection, so the NonworkingTimes collection can be enumerated using a sample like  for each nw in NonworkingTimes