Click or drag to resize

TimeIntervalCollection Properties

The TimeIntervalCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of intervals in this interval collection.
Public propertyStatic memberEmpty
Gets an empty, read-only TimeIntervalCollection.
Public propertyStatic memberInfinite
Gets an unbounded, infinite, read-only TimeIntervalCollection.
Public propertyIsEmpty
Gets a value indicating whether this interval collection is empty, where emptiness is defined as the count of intervals being equal to zero. To determine if the amount of time contained in this interval collection is zero, convert to a duration using ToDuration and check for equality with Zero.
Public propertyIsFrozen
Gets a value indicating whether this object is frozen. A frozen object cannot be modified and an ObjectFrozenException will be thrown if an attempt is made to do so.
Public propertyIsInfinite
Gets a value indicating whether the interval collection is infinite. An infinite interval collection contains all possible times.
Public propertyItem
Gets the interval at the specified index.
Public propertyStart
Gets the start date of the first interval in the collection.
Public propertyStop
Gets the stop date of the last interval in the collection
Top
See Also