The TimeIntervalCollection type exposes the following members.

Constructors

  NameDescription
TimeIntervalCollectionOverloaded.

Methods

  NameDescription
Add
Adds a TimeInterval element to this TimeIntervalCollection.
AddRange
Adds multiple TimeInterval elements to this TimeIntervalCollection.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetEnumerator
Returns an enumerator that iterates through the TimeIntervalCollection.
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
ToString (Inherited from Object.)

Properties

  NameDescription
Ascending
Enumerates the elements actually contained in the TimeIntervalCollection in ascending order.
Count
Gets the number of elements actually contained in this TimeIntervalCollection.
Descending
Enumerates the elements actually contained in the TimeIntervalCollection in descending order.
Duration
Gets the total duration of the intervals in the collection.
Finish
Gets the finish date and time of the latest interval in the collection.
Item
Gets the time interval at the specified index.
Start
Gets the start date and time of the earliest interval in the collection.

Explicit Interface Implementations

  NameDescription
IEnumerable..::.GetEnumerator
Returns an enumerator that iterates through the TimeIntervalCollection.

See Also