TimeIntervalCollectionTIntersect Method (TimeIntervalCollectionT)
Computes the intersection of this interval collection with another.
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
public TimeIntervalCollection<T> Intersect(
Public Function Intersect (
collection As TimeIntervalCollection(Of T)
) As TimeIntervalCollection(Of T)
member Intersect :
collection : TimeIntervalCollection<'T> -> TimeIntervalCollection<'T>
- Type: AGI.Foundation.TimeTimeIntervalCollectionT
The collection to intersect with this collection. The parameter
can be null, in which case Intersect returns this instance.
The intersection of this collection with another collection.
The returned collection will only contain the intervals that are in
both collections. If two intervals in the two collections overlap but have
, the overlapping part will NOT be included in the resulting collection.