property NonworkingPatterns.Item (ID as Variant) as NonworkingPattern
Returns a specific NonworkingPattern of the NonworkingPatterns collection, giving its identifier.

TypeDescription
ID as Variant A long expression that defines the identifier of the NonworkingPattern object.
NonworkingPattern A NonworkingPattern object associated with the giving identifier, or empty/nothing/NULL, if no object is associated with the specified identifier. 
The Item property accesses a NonworkingPattern object based on its identifier. The Count property counts the number of NonworkingPattern objects in the NonworkingPatterns collection.  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