Click or drag to resize

TimeIntervalCollectionIntersect Method (TimeIntervalCollection)

Computes the intersection of this interval collection with another.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public TimeIntervalCollection Intersect(
	TimeIntervalCollection collection
)

Parameters

collection
Type: AGI.Foundation.TimeTimeIntervalCollection
The collection to intersect with this collection. The parameter can be null, in which case Intersect returns this instance.

Return Value

Type: TimeIntervalCollection
The intersection of this collection with another collection.
Remarks
The returned collection will only contain the intervals that are in both collections.
See Also