AFTime.Equals Method (AFTime, Double)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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: BooleanReturns 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.