TimeIntervalCollectionTIntersect Method (TimeIntervalCollection) |
Computes the intersection of this interval collection with another, returning data from this one.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public TimeIntervalCollection<T> Intersect(
TimeIntervalCollection intervals
)
Public Function Intersect (
intervals As TimeIntervalCollection
) As TimeIntervalCollection(Of T)
public:
TimeIntervalCollection<T>^ Intersect(
TimeIntervalCollection^ intervals
)
member Intersect :
intervals : TimeIntervalCollection -> TimeIntervalCollection<'T>
Parameters
- intervals
- 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:
TimeIntervalCollectionT
The intersection of this collection with another collection, with
the data of the intervals corresponding to the data of the overlapping intervals from this collection.
See Also