property NonworkingPattern.ID as Long
Gets identifier of the current NonworkingPattern object.

TypeDescription
Long A long expression that defines the identifier of the colors/pattern to be used by a non-working time-interval.
The ID property is a a read-only property. The ID property is initialized by the ID parameter of the Add method. The IDNonworkingPattern property of the NonworkingTime object indicates the identifier of the NonworkingPattern object to be displayed on the non-working interval. In order to change the ID property, you can remove the object and add a new NonworkingPattern object using the Add method with a different identifier. The Remove method removes a NonworkingPattern object based on identifier.