AFTimeSpan.Negate Method
- Last UpdatedJan 12, 2026
- 1 minute read
- PI System
- AF SDK 3.2.0
- Developer
Returns a AFTimeSpan whose value is the negated value of this instance.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFTimeSpan Negate()
Public Function Negate As AFTimeSpan Dim instance As AFTimeSpan Dim returnValue As AFTimeSpan returnValue = instance.Negate()
public: AFTimeSpan Negate()
member Negate : unit -> AFTimeSpan
Return Value
Type: AFTimeSpanThe same numeric value as this instance, but with the opposite sign.