Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeRange.Intersect Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeRange.Intersect Method
Computes the intersection between this AFTimeRange and another AFTimeRange.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFTimeRange Intersect(
	AFTimeRange timeRange
)
Public Function Intersect ( 
	timeRange As AFTimeRange
) As AFTimeRange

Dim instance As AFTimeRange
Dim timeRange As AFTimeRange
Dim returnValue As AFTimeRange

returnValue = instance.Intersect(timeRange)
public:
AFTimeRange Intersect(
	AFTimeRange timeRange
)
member Intersect : 
        timeRange : AFTimeRange -> AFTimeRange 

Parameters

timeRange
Type: OSIsoft.AF.TimeAFTimeRange
The AFTimeRange with which to intersect.

Return Value

Type: AFTimeRange
Returns the intersection between this AFTimeRange and the specified timeRange. If the two time ranges do not overlap, then Empty is returned.

Remarks

This method computes the intersection between this AFTimeRange and the specified timeRange.

Version Information

AFSDK


See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in