Item(vNameOrPos As Variant) As PfsScheduleDay
- vNameOrPos As Variant
- Index or name of the ScheduleDay object within the
If the parameter is a numerical value, the dynamic element is
searched by its index (>= 0 and <= Count-1).
If it is an alphanumerical value, the dynamic element is searched
by its unique name.
Returns the ScheduleDay object from the collection, which is
identified by the parameter vNameOrPos.
The parameter vNameOrPos can have two values:
- Index: Access with an index is mostly used in
combination with the property Count to find out the position of the
variable object in the list.
- ScheduleDay name: The ScheduleDay can also be accessed
with its unique name.
The returned object should be checked on Nothing, if no object for
the search criteria was found.