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

AF SDK Reference

AFTime.Equals Method (AFTime, Double)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTime.Equals Method (AFTime, Double)
Indicates whether the current object is equal to another object of the same type.

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

Syntax

public bool Equals(
	AFTime obj,
	double tolerance
)
Public Function Equals ( 
	obj As AFTime,
	tolerance As Double
) As Boolean

Dim instance As AFTime
Dim obj As AFTime
Dim tolerance As Double
Dim returnValue As Boolean

returnValue = instance.Equals(obj, tolerance)
public:
bool Equals(
	AFTime obj, 
	double tolerance
)
member Equals : 
        obj : AFTime * 
        tolerance : float -> bool 

Parameters

obj
Type: OSIsoft.AF.TimeAFTime
An object to compare with the current object.
tolerance
Type: SystemDouble
The tolerance in seconds that the times are within to be considered equal.

Return Value

Type: Boolean
Returns if the current object is equal to the specified other object; otherwise, .

Remarks

This method will indicate whether the specified object of the same type is equal to the current object. See the documentation for the IEquatable<T>.Equals method for more information about this method.

Version Information

AFSDK


See Also

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