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.3.420.0 (24.3.420.0)
Syntax public TimeIntervalCollection Intersect(
TimeIntervalCollection collection
)
Public Function Intersect (
collection As TimeIntervalCollection
) As TimeIntervalCollection
public:
TimeIntervalCollection^ Intersect(
TimeIntervalCollection^ collection
)
member Intersect :
collection : TimeIntervalCollection -> TimeIntervalCollection
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:
TimeIntervalCollectionThe intersection of this collection with another collection.
Remarks
The returned collection will only contain the intervals that are in both collections.
See Also